Open mauro-ni opened 7 years ago
undefined method `authorize' for #
def index @users = User.all authorize User end
https://github.com/RailsApps/rails-devise-pundit/issues/10
This fixed it for me.
undefined method `authorize' for #