- Timestamp:
- 10/17/21 18:39:50 (3 years ago)
- Branches:
- develop, master
- Children:
- bd9e8e3
- Parents:
- 120759b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
routes/web.php
r120759b rd795fa6 45 45 Route::get("/", "Dashboard\IndexController@index")->name("dashboard.index"); 46 46 47 // Settings 47 48 Route::get("/settings", "Dashboard\SettingsController@settings")->name("dashboard.settings.index"); 48 49 Route::patch("/settings/personal", "Dashboard\SettingsController@updatePersonalInformation")->name("dashboard.settings.personal"); … … 70 71 // Departments 71 72 Route::group(['middleware' => 'permission:manage_all_departments'], function () { 72 Route::get("/departments", "Dashboard\ departmentsController@index")->name("dashboard.departments.index");73 Route::get("/departments/create", "Dashboard\ departmentsController@create")->name("dashboard.departments.create");74 Route::post("/departments/store", "Dashboard\ departmentsController@store")->name("dashboard.departments.store");75 Route::get("/departments/{id}/edit", "Dashboard\ departmentsController@editShow")->name("dashboard.departments.editShow");76 Route::patch("/departments/{id}/edit", "Dashboard\ departmentsController@edit")->name("dashboard.departments.edit");73 Route::get("/departments", "Dashboard\DepartmentsController@index")->name("dashboard.departments.index"); 74 Route::get("/departments/create", "Dashboard\DepartmentsController@create")->name("dashboard.departments.create"); 75 Route::post("/departments/store", "Dashboard\DepartmentsController@store")->name("dashboard.departments.store"); 76 Route::get("/departments/{id}/edit", "Dashboard\DepartmentsController@editShow")->name("dashboard.departments.editShow"); 77 Route::patch("/departments/{id}/edit", "Dashboard\DepartmentsController@edit")->name("dashboard.departments.edit"); 77 78 Route::delete("/departments/{id}/destroy", "Dashboard\DepartmentsController@destroy")->name("dashboard.departments.destroy"); 78 79 }); … … 83 84 Route::post("/documents/store", "Dashboard\DocumentsController@store")->name("dashboard.documents.store"); 84 85 Route::get("/documents/{id}/edit", "Dashboard\DocumentsController@editShow")->name("dashboard.documents.editShow"); 85 Route::get("/documents/{id}/list", "Dashboard\DocumentsController@getDocumentsInDepartment")->name("dashboard.documents.getDocumentsInDepartment");86 86 Route::patch("/documents/{id}/edit", "Dashboard\DocumentsController@edit")->name("dashboard.documents.edit"); 87 87 Route::patch("/documents/{id}/block", "Dashboard\DocumentsController@block")->name("dashboard.documents.block");
Note:
See TracChangeset
for help on using the changeset viewer.