Changeset d795fa6 for routes


Ignore:
Timestamp:
10/17/21 18:39:50 (3 years ago)
Author:
Berat Kjufliju <kufliju@…>
Branches:
develop, master
Children:
bd9e8e3
Parents:
120759b
Message:

added validation to blades

File:
1 edited

Legend:

Unmodified
Added
Removed
  • routes/web.php

    r120759b rd795fa6  
    4545    Route::get("/", "Dashboard\IndexController@index")->name("dashboard.index");
    4646
     47    // Settings
    4748    Route::get("/settings", "Dashboard\SettingsController@settings")->name("dashboard.settings.index");
    4849    Route::patch("/settings/personal", "Dashboard\SettingsController@updatePersonalInformation")->name("dashboard.settings.personal");
     
    7071    // Departments
    7172    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");
    7778        Route::delete("/departments/{id}/destroy", "Dashboard\DepartmentsController@destroy")->name("dashboard.departments.destroy");
    7879    });
     
    8384    Route::post("/documents/store", "Dashboard\DocumentsController@store")->name("dashboard.documents.store");
    8485    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");
    8686    Route::patch("/documents/{id}/edit", "Dashboard\DocumentsController@edit")->name("dashboard.documents.edit");
    8787    Route::patch("/documents/{id}/block", "Dashboard\DocumentsController@block")->name("dashboard.documents.block");
Note: See TracChangeset for help on using the changeset viewer.