lib/potassium/templates/application/recipes/pundit.rb in potassium-1.2.3 vs lib/potassium/templates/application/recipes/pundit.rb in potassium-1.2.4
- old
+ new
@@ -16,9 +16,11 @@
gsub_file initializer, /# config\.authorization_adapter =[^\n]+\n/ do
"config.authorization_adapter = ActiveAdmin::PunditAdapter\n"
end
template "assets/active_admin/pundit_page_policy.rb", "app/policies/active_admin/page_policy.rb"
+ template "assets/active_admin/comment_policy.rb", "app/policies/active_admin/comment_policy.rb"
+ template "assets/active_admin/admin_user_policy.rb", "app/policies/admin_user_policy.rb"
end
end
}
}