-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Refactor page redirect path after 'destroy', 'create', 'update' #1995
Refactor page redirect path after 'destroy', 'create', 'update' #1995
Conversation
ef3bf08
to
f606d8d
Compare
93f12b8
to
554e6af
Compare
554e6af
to
cfade80
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for taking over this one! I agree that those Hound comments are not important. I also get them and I ignore them happily.
I have left a couple of comments. After that we should be good to go.
3390b33
to
ce3433f
Compare
this will make us easier to override redirect path fix syntax fix hound restore unchanged lines fix hound review Update application_controller.rb fix hound review Add specs and doc for override redirect feature Update docs/customizing_controller_actions.md Co-authored-by: Pablo Brasero <36066+pablobm@users.noreply.github.com> use anonimous controller for custom redirect
ce3433f
to
c3c0568
Compare
I've done the suggested changes, please review again @pablobm |
Thank you @edimossilva! Incidentally, I found what was wrong with those Hound errors on |
@pablobm , please review
This is a follow-up of PR #1973
Should I squash the commits?
hound is complaining about something but I think it is not relevant, and maybe this rule should be disabled => rubocop/rubocop#3675