'admin'], function () { Route::resource('/hrm/department_managment', 'Hrms\Hrm\Http\Controllers\DepartmentManagmentAdminController'); }); // User routes for department_managment Route::group(['prefix' => 'user'], function () { Route::resource('/hrm/department_managment', 'Hrms\Hrm\Http\Controllers\DepartmentManagmentUserController'); }); // Public routes for department_managment Route::get('hrm/department_managment', 'Hrms\Hrm\Http\Controllers\DepartmentManagmentPublicController@index'); Route::get('hrm/department_managment/{slug?}', 'Hrms\Hrm\Http\Controllers\DepartmentManagmentPublicController@show'); Route::group(['prefix' => 'admin'], function () { Route::resource('/hrm/employee_managment', 'Hrms\Hrm\Http\Controllers\EmployeeManagmentAdminController'); }); // User routes for employee_managment Route::group(['prefix' => 'user'], function () { Route::resource('/hrm/employee_managment', 'Hrms\Hrm\Http\Controllers\EmployeeManagmentUserController'); }); // Public routes for employee_managment Route::get('hrm/employee_managment', 'Hrms\Hrm\Http\Controllers\EmployeeManagmentPublicController@index'); Route::get('hrm/employee_managment/{slug?}', 'Hrms\Hrm\Http\Controllers\EmployeeManagmentPublicController@show'); Route::group(['prefix' => 'admin'], function () { Route::resource('/hrm/employee_managment', 'Hrms\Hrm\Http\Controllers\EmployeeManagmentAdminController'); }); // User routes for employee_managment Route::group(['prefix' => 'user'], function () { Route::resource('/hrm/employee_managment', 'Hrms\Hrm\Http\Controllers\EmployeeManagmentUserController'); }); // Public routes for employee_managment Route::get('hrm/employee_managment', 'Hrms\Hrm\Http\Controllers\EmployeeManagmentPublicController@index'); Route::get('hrm/employee_managment/{slug?}', 'Hrms\Hrm\Http\Controllers\EmployeeManagmentPublicController@show');