- Timestamp:
- 10/25/21 21:49:53 (3 years ago)
- Branches:
- develop, master
- Children:
- e756bd9
- Parents:
- 05e57e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
routes/web.php
r05e57e2 r1c25bcf 25 25 // Auth Routes 26 26 //////////////////// 27 Route:: prefix('auth')->group(function () {27 Route::group(['prefix' => 'auth'], function () { 28 28 29 29 Route::get('/login', "Auth\LoginController@showLogin")->name("auth.loginShow"); 30 Route::get('/verify-login/{id}/{token}', "Auth\VerifyLoginController@index")->middleware("CheckVerifyToken")->name("verify-login.index"); 31 Route::post('/verify-login/{id}/{token}', "Auth\VerifyLoginController@verify")->name("verify-login"); 30 32 Route::post('/login', "Auth\LoginController@login")->name("auth.login"); 31 33 Route::post('/logout', "Auth\LoginController@logout")->name("auth.logout"); … … 37 39 Route::get('/create-password/{id}/{token}', "Auth\CreatePasswordController@showCreatePassword")->name("auth.create-password-show"); 38 40 Route::post('/create-password/{id}/{token}', "Auth\CreatePasswordController@createPassword")->name("auth.create-password"); 39 });40 41 Route::group(['middleware' => "checkVerifyNewEmail"], function () {42 Route::get('/verify/{id}/{token}', "Auth\VerifyNewEmailController@create")->name("auth.verifyShow");43 Route::post('/verify/{id}/{token}', "Auth\VerifyNewEmailController@verify")->name("auth.verify");44 41 }); 45 42 … … 78 75 Route::patch("/users/{id}/unblock", "Dashboard\UsersController@unblock")->name("dashboard.users.unblock"); 79 76 Route::delete("/users/{id}/destroy", "Dashboard\UsersController@destroy")->name("dashboard.users.destroy"); 80 Route::get('users/export', 'Dashboard\ExportExcelController@ExportUsers')->name("dashboard.users.export");81 77 }); 82 78 … … 131 127 Route::get('folders/export', 'Dashboard\ExportExcelController@ExportFolders')->name("dashboard.folders.export"); 132 128 Route::get('departments/export', 'Dashboard\ExportExcelController@ExportDepartments')->name("dashboard.departments.export"); 129 Route::get('users/export', 'Dashboard\ExportExcelController@ExportUsers')->name("dashboard.users.export"); 133 130 }); 134 131
Note:
See TracChangeset
for help on using the changeset viewer.