Closed ghatighorias closed 7 years ago
send calling controller to the canada.can? function instead of model
This way a user can be authorized based on the action And the controller the action is called from
LGTM! Thanks for the PR!
My question is related to this PR. I don't find any canary_controller guide/documentation/best practice on how to fill this key. Can you, please, share ideas about that?
canary_controller
send calling controller to the canada.can? function instead of model
This way a user can be authorized based on the action And the controller the action is called from