-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservice.php
28 lines (18 loc) · 917 Bytes
/
service.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
use App\Http\Controllers\ServiceController;
use Illuminate\Support\Facades\Route;
//Rutas protegidas
Route::middleware(['check.permission:service.list'])->group(function () {
/*
|--------------------------------------------------------------------------
| Service
|--------------------------------------------------------------------------
*/
Route::get('/service/list', [ServiceController::class, 'list']);
Route::get('/service/create', [ServiceController::class, 'create']);
Route::post('/service/store', [ServiceController::class, 'store']);
Route::get('/service/{id}/edit', [ServiceController::class, 'edit']);
Route::post('/service/update/{id}', [ServiceController::class, 'update']);
Route::delete('/service/delete/{id}', [ServiceController::class, 'delete']);
Route::post('/service/changeStatus', [ServiceController::class, 'changeStatus']);
});