'admin/employee'], function () { Route::resource('employee', 'EmployeeAdminController'); }); // User routes for employee Route::group(['prefix' => 'user/employee'], function () { Route::resource('employee', 'EmployeeUserController'); }); // Public routes for employee Route::group(['prefix' => 'employees'], function () { Route::get('/', 'EmployeePublicController@index'); Route::get('/{slug?}', 'EmployeePublicController@show'); });