Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Organizes Controllers Helper Methods #357

Merged
merged 5 commits into from Nov 4, 2017
Merged

Conversation

eliasjpr
Copy link
Contributor

@eliasjpr eliasjpr commented Nov 3, 2017

  • Moves redirect into the Helpers subdirectory in controller
  • Updates require path
  • Renames Helper::Tags to Helpers::CSRF

Description of the Change

Alternate Designs

Benefits

Possible Drawbacks

- Moves redirect into the Helpers subdirectory in controller
- Updates require path
- Renames Helper::Tags to Helpers::CSRF
@eliasjpr eliasjpr requested review from a team November 3, 2017 17:02
@@ -1,5 +1,5 @@
module Amber::Controller::Helpers
module Tag
module CSRF
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably name the file csrf.cr as well if you're changing the name of the module.

Copy link
Member

@elorest elorest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment but looks good.

Copy link
Member

@drujensen drujensen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with @elorest on renaming the file to match the module. LGTM.

@eliasjpr eliasjpr merged commit f08a95d into master Nov 4, 2017
@eliasjpr eliasjpr deleted the ep/organize-controllers branch November 4, 2017 11:08
@eliasjpr eliasjpr added this to the 0.3.5 milestone Nov 14, 2017
elorest pushed a commit that referenced this pull request Nov 17, 2017
* Organizes Controllers Helper Methods

- Moves redirect into the Helpers subdirectory in controller
- Updates require path
- Renames Helper::Tags to Helpers::CSRF

* Rename tags.cr to csrf.cr

* Remove  include RedirectMethods
elorest pushed a commit that referenced this pull request Nov 17, 2017
* Organizes Controllers Helper Methods

- Moves redirect into the Helpers subdirectory in controller
- Updates require path
- Renames Helper::Tags to Helpers::CSRF

* Rename tags.cr to csrf.cr

* Remove  include RedirectMethods


Former-commit-id: d5f143d
@faustinoaq faustinoaq added this to Done in Framework 2018 May 5, 2018
@faustinoaq faustinoaq removed this from Done in Framework 2018 Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants