freescout-customers-groups/Http/routes.php

22 lines
850 B
PHP
Raw Normal View History

2024-07-16 10:09:44 +00:00
<?php
/*
SPDX-License-Identifier: AGPL-3.0-only
SPDX-FileCopyrightText: © 2024 Millions Missing FRANCE <info@millionsmissing.fr>
*/
use Illuminate\Support\Facades\Route;
Route::group(
[
'middleware' => 'web',
'prefix' => \Helper::getSubdirectory(),
2024-07-16 10:09:44 +00:00
'namespace' => 'Modules\MMFCustomersGroups\Http\Controllers'
],
function() {
Route::get('/groups/list', ['uses' => CustomersGroupsController::class . '@list', 'laroute' => true])->name('groups.list');
Route::get('/groups/create', ['uses' => CustomersGroupsController::class . '@create', 'laroute' => true])->name('groups.create');
Route::post('/groups/create', ['uses' => CustomersGroupsController::class . '@save', 'laroute' => true]);
Route::get('/groups/update', ['uses' => CustomersGroupsController::class . '@update', 'laroute' => true])->name('groups.update');
2024-07-16 10:09:44 +00:00
}
);