authorization rails_admin with pundit
问题 I use pundit gem to authorization. In my file config/initializers/rails_admin.rb RailsAdmin.config do |config| config.authorize_with :pundit config.current_user_method(&:current_user) ...... end I follow the instructions in https://github.com/sudosu/rails_admin_pundit But in when run code, error : protected method `policy' called for #<Rails_Admin::MainController I use rails_admin 0.8.1 Please guide me use pundit in rails_admin ( tutorial, examle, ...) 回答1: You can try to use this gem or just