Changeset cf84baa for routes/web.php


Ignore:
Timestamp:
02/08/24 16:15:01 (11 months ago)
Author:
bube-ristovska <ristovska725@…>
Branches:
main
Children:
6dec591
Parents:
6b10b67
Message:

Added querries half done

File:
1 edited

Legend:

Unmodified
Added
Removed
  • routes/web.php

    r6b10b67 rcf84baa  
    2323Route::get('/login', function () {
    2424    return view('login');
     25
    2526});
    2627
    27 Route::post('logout', [SessionsController::class, 'destroy'])->middleware('auth');
     28Route::post('/login', [SessionsController::class, 'store']);
     29
     30
     31Route::get('logout', [SessionsController::class, 'logout']);
    2832
    2933
     
    3135Route::get('employees', [OfficerController::class, 'employees'])->middleware('guest');
    3236Route::get('filter', [PeopleController::class, 'filter'])->middleware('guest');
     37Route::post('filter', [PeopleController::class, 'filter_post'])->middleware('guest');
     38
    3339Route::get('cases', [CrimeCaseController::class, 'cases'])->middleware('guest');
    3440Route::get('case', [CrimeCaseController::class, 'case'])->middleware('guest');
Note: See TracChangeset for help on using the changeset viewer.