employee crud
This commit is contained in:
@ -12,8 +12,12 @@ use Modules\Employee\Http\Controllers\EmployeeController;
|
||||
| routes are loaded by the RouteServiceProvider within a group which
|
||||
| contains the "web" middleware group. Now create something great!
|
||||
|
|
||||
*/
|
||||
*/
|
||||
|
||||
Route::group([], function () {
|
||||
Route::group(['middleware' => 'auth'], function () {
|
||||
Route::post('assignRole', [EmployeeController::class, 'assignRole'])->name('employee.assignRole');
|
||||
Route::resource('employee', EmployeeController::class)->names('employee');
|
||||
Route::group(['prefix' => 'employee'], function () {
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user