0

I have large number of models and I need one policy (applicationPolicy) to handle their common actions. Do I need to create a policy class for each model?

1 Answers1

0

Yes, you can make Common Policy for all your controllers in your application_policy.rb.

But for better control, use separate policies for each controller.

Refer here

Chetan Datta
  • 447
  • 9
  • 19