RailsApps / rails-devise-pundit

Rails 5.0 starter app with Devise for authentication and Pundit for authorization.
http://railsapps.github.io/rails-devise-pundit/
483 stars 156 forks source link

Add Pundit to ApplicationController.rb #23

Open pblesi opened 9 years ago

pblesi commented 9 years ago

After running through this app a handful of times. I started to get an error when loading the user's index page. I found that including Pundit in accordance with the Pundit readme (https://github.com/elabs/pundit/tree/v0.2.3) fixes the issue.