Issue with BaseController
Closed this issue · 4 comments
Hi guys,
I've got an issue with this line of code(I saw this is the correct one).
-> use Efficiently\AuthorityController\ControllerAdditions;
When i try to access my app it says "Controller method not found.". When i remove the using everything is ok.
So i cannot invoke $this->loadAndAuthorizeResource from my controller. I did everything for setting up the environment and i was wondering if you know where the problem could be.
Thank you in advance!
Hi Bobby,
Can you compare your application with this one to be sure everything is OK ?
https://github.com/efficiently/laravel_authority-controller_app
And what is the version of your PHP ?
Can you send the whole stack trace of your error?
Have you still an error ? Or I can close this issue?
Feel free to reopen this issue if your error still occurs.