Jul 7, 2017
0
Level 1
Make resource controllers and policies share method names
I spend some good hours trying to find the reason my policy class was not even been reached just to find out that the policy show method didn't exist. Dumb me, I know.
My point is $controller->show and $policy->view refers to the same functional abstraction so why are they named differently? I can't be the only one to fall for this.
My suggestion? Change policy's scaffolding naming.
Thanks!
Please or to participate in this conversation.