cancan
cancan copied to clipboard
Update load_and_authorize_resource! "routing error before_filter"
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?
use this one https://github.com/CanCanCommunity/cancancan