varvet / godmin

Admin framework for Rails 5+
http://godmin-sandbox.herokuapp.com
MIT License
486 stars 47 forks source link

Move policy class decision to service object. #178

Closed Linuus closed 8 years ago

Linuus commented 8 years ago

Currently we need to define a policy_class method in the model. It should probably be in the service object instead.

jensljungblad commented 8 years ago

This is a duplicate of https://github.com/varvet/godmin/issues/87