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

Still using before_filter when it should be before_action #1228

Open
ninoM opened this issue Nov 23, 2016 · 1 comment
Open

Still using before_filter when it should be before_action #1228

ninoM opened this issue Nov 23, 2016 · 1 comment

Comments

@ninoM
Copy link

ninoM commented Nov 23, 2016

http://tutorials.jumpstartlab.com/projects/blogger.html#i5:-authentication

before_filter is deprecated.

@mitch3lljones
Copy link

This issue is still not resolved. In the 'Securing New Users' section, the line:
before_filter :zero_authors_or_authenticated, only: [:new, :create] needs to be
before_action :zero_authors_or_authenticated, only: [:new, :create]

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

No branches or pull requests

2 participants