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',
|
2024-07-16 10:11:35 +00:00
|
|
|
'prefix' => \Helper::getSubdirectory(),
|
2024-07-16 10:09:44 +00:00
|
|
|
'namespace' => 'Modules\MMFCustomersGroups\Http\Controllers'
|
|
|
|
],
|
|
|
|
function() {
|
2024-07-16 14:54:04 +00:00
|
|
|
Route::get('/groups/list', ['uses' => CustomersGroupsController::class . '@list', 'laroute' => true])->name('groups.list');
|
2024-07-16 15:16:41 +00:00
|
|
|
Route::get('/groups/create', ['uses' => CustomersGroupsController::class . '@create', 'laroute' => true])->name('groups.create');
|
2024-07-17 12:45:39 +00:00
|
|
|
Route::post('/groups/create', ['uses' => CustomersGroupsController::class . '@save', 'laroute' => true]);
|
2024-07-16 15:16:41 +00:00
|
|
|
Route::get('/groups/update', ['uses' => CustomersGroupsController::class . '@update', 'laroute' => true])->name('groups.update');
|
2024-07-16 10:09:44 +00:00
|
|
|
}
|
|
|
|
);
|