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

Fix method name when checking if controllers respond to after_action #663

Merged
merged 1 commit into from
Jun 22, 2017

Conversation

atmattpatt
Copy link

#630 used after_action in place of after_filter when it's available, since after_filter is deprecated in Rails 5.0. However, it was checking if the base class responded to after_action? (with a question mark appended) by accident.

mileszs#630 used `after_action` in
place of `after_filter` when it's available, since `after_filter` is
deprecated in Rails 5.0. However, it was checking if the base class
responded to `after_action?` (with a question mark appended) by
accident.
@unixmonkey unixmonkey merged commit 2278a6d into mileszs:master Jun 22, 2017
@unixmonkey
Copy link
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants