Commit 6daeeae2 authored by Viral Solani's avatar Viral Solani

change route name of permission

parent f8026b32
......@@ -39,7 +39,7 @@ Route::group(['namespace' => 'Api\V1', 'prefix' => 'v1', 'as' => 'v1.'], functio
Route::post('roles/delete-all', 'RolesController@deleteAll');
// Permission
Route::resource('permission', 'PermissionController', ['except' => ['create', 'edit']]);
Route::resource('permissions', 'PermissionController', ['except' => ['create', 'edit']]);
// Page
Route::resource('pages', 'PagesController', ['except' => ['create', 'edit']]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment