Fix permissions with modules

This commit is contained in:
Nabeel Shahzad 2021-03-13 18:31:09 -05:00
parent e70ee5aa6f
commit 73f88fce0c

View File

@ -465,7 +465,7 @@ class RouteServiceProvider extends ServiceProvider
Route::group([
'as' => 'modules.',
'prefix' => 'modules',
'middleware' => ['ability:admin, modules'],
'middleware' => ['ability:admin,modules'],
], function () {
//Modules Index