unable to find policy of nil in groups settings controller
Started GET "/groups/g1/settings" for 127.0.0.1 at 2018-06-20 08:41:53 -0700 Processing by Group::SettingsController#show as HTML Parameters: {"group_id"=>"g1"} Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.4ms)
Pundit::NotDefinedError (unable to find policy of nil): app/controllers/group/base_controller.rb:15:in `fetch_group'