FleetCart/Modules/Setting/Routes/admin.php
2023-06-11 13:14:03 +01:00

16 lines
368 B
PHP

<?php
use Illuminate\Support\Facades\Route;
Route::get('settings', [
'as' => 'admin.settings.edit',
'uses' => 'SettingController@edit',
'middleware' => 'can:admin.settings.edit',
]);
Route::put('settings', [
'as' => 'admin.settings.update',
'uses' => 'SettingController@update',
'middleware' => 'can:admin.settings.edit',
]);