New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to Attach ENTRUST Middleware on Laravel 5.1 Route Group #402
Comments
UPDATE Thanks @tuwannu! |
I am having this issue as well. The files are simply missing. I am using these classes as a temporary fix instead: |
Also having this issue. |
@pedzed |
I'm having the same issue, how do I update the files? |
I'll get those in immediately. |
Added the files: be28aa6 |
Perfect! It works now. Thank you. |
Closing with the files added. |
Sorry for my question, Where I should add these files ?? |
@case90, you don't have to. They are already added to the latest version by author. |
All three missing files are available in latest version yet also getting the issue. when I am running this command as: php artisan entrust:migration Issue: Method Zizaco\Entrust\MigrationCommand::handle() does not exist |
I got solution Need to change the fire function to handle in new version laravel 5.4 vendor/zizaco/entrust/src/commands/MigrationCommand.php |
I've run the migration and created the models.
I only changed the following two lines on
config/entrust.php
file.On
config/app.php
file, I've done the followings.I'm planning to use middleware, so I've also updated the
app/Http/Kernel.php
file.Now I'm getting an exception when I attach
'middleware' => ['role:admin']
to the route group.Exception
PLEASE HELP!
The text was updated successfully, but these errors were encountered: