As above the title, I followed the tutorial to create ACL modal in laravel 5.2 , the bug hit as the attached when I was seeding a class for PermissionTableSeeder.
Well, I hope there are people who can help me on this issue.
This is the bug:
As above the title, I followed the tutorial to create ACL modal in laravel 5.2 , the bug hit as the attached when I was seeding a class for PermissionTableSeeder.
Well, I hope there are people who can help me on this issue.
This is the bug:
that error is because of Permission model is not found correctly in your PermissionTableSeeder use permission model with full namespace
add the below use statement at the top of your seeder.
use App\Permission