FleetCart/Themes/Storefront/routes/admin.php

16 lines
404 B
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
<?php
use Illuminate\Support\Facades\Route;
Route::get('storefront', [
'as' => 'admin.storefront.settings.edit',
'uses' => 'StorefrontController@edit',
'middleware' => 'can:admin.storefront.edit',
]);
Route::put('storefront', [
'as' => 'admin.storefront.settings.update',
'uses' => 'StorefrontController@update',
'middleware' => 'can:admin.storefront.edit',
]);