cancan icon indicating copy to clipboard operation
cancan copied to clipboard

Update load_and_authorize_resource! "routing error before_filter"

Open hungbuijr opened this issue 5 years ago • 1 comments

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?

hungbuijr avatar May 22 '19 08:05 hungbuijr

use this one https://github.com/CanCanCommunity/cancancan

saiqulhaq avatar Jul 03 '19 15:07 saiqulhaq