Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Update load_and_authorize_resource! "routing error before_filter" #1051

Open
hungbuijr opened this issue May 22, 2019 · 1 comment
Open

Update load_and_authorize_resource! "routing error before_filter" #1051

hungbuijr opened this issue May 22, 2019 · 1 comment

Comments

@hungbuijr
Copy link

When i use load_and_authorize_resource in rails 5.2.3. I received an error like "undefined method `before_filter' for ProductsController"

I hope you or your team will solve it in the next version as soon as good for who loved your gem.
Maybe from rails version 5.1 rails removed *_filter methods and replace it with *_action methods or i did something wrong in my project?
Anyone can help me with this case?

@saiqulhaq
Copy link

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

No branches or pull requests

2 participants