freescout-customers-groups/Http/routes.php
Antoine Le Gonidec 7e749d7cf4
Add the ability to list existing Customers Groups
The ability to add new groups and update existing ones has not been implemented yet.
2024-07-16 17:16:41 +02:00

20 lines
742 B
PHP

<?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(),
'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::get('/groups/update', ['uses' => CustomersGroupsController::class . '@update', 'laroute' => true])->name('groups.update');
}
);