- Timestamp:
- 11/23/21 22:01:52 (3 years ago)
- Branches:
- master
- Children:
- dbc5976
- Parents:
- 4d73966
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
routes/web.php
r4d73966 r0a1fb54 27 27 Route::group(['prefix' => 'auth'], function () { 28 28 29 Route::get('/login', "Auth\LoginController@showLogin")->name("auth. loginShow");29 Route::get('/login', "Auth\LoginController@showLogin")->name("auth.showLogin"); 30 30 Route::get('/verify-login/{id}/{token}', "Auth\VerifyLoginController@index")->middleware("CheckVerifyToken")->name("verify-login.index"); 31 31 Route::post('/verify-login/{id}/{token}', "Auth\VerifyLoginController@verify")->name("verify-login"); … … 41 41 }); 42 42 43 Route::group(['middleware' => "checkVerifyNewEmail"], function () { 44 Route::get('/verify/{id}/{token}', "Auth\VerifyNewEmailController@create")->name("auth.verifyShow"); 45 Route::post('/verify/{id}/{token}', "Auth\VerifyNewEmailController@verify")->name("auth.verify"); 46 }); 43 47 }); 44 48 … … 84 88 // Departments manage 85 89 Route::group(['middleware' => 'permission:manage_all_departments'], function () { 86 Route::get("/departments/create", "Dashboard\DepartmentsController@create")->name("dashboard.departments.create"); 87 Route::post("/departments/store", "Dashboard\DepartmentsController@store")->name("dashboard.departments.store"); 88 Route::get("/departments/{id}/edit", "Dashboard\DepartmentsController@editShow")->name("dashboard.departments.editShow"); 89 Route::patch("/departments/{id}/edit", "Dashboard\DepartmentsController@edit")->name("dashboard.departments.edit"); 90 Route::post("/departments/store", "Dashboard\DepartmentsController@store")->name("dashboard.departments.store"); 91 Route::patch("/departments/{id}/edit", "Dashboard\DepartmentsController@edit")->name("dashboard.departments.edit"); 90 92 }); 91 93
Note:
See TracChangeset
for help on using the changeset viewer.