FleetCart/Modules/Admin/Routes/admin.php

12 lines
309 B
PHP
Raw Permalink Normal View History

2023-06-11 12:14:03 +00:00
<?php
use Illuminate\Support\Facades\Route;
Route::get('/', 'DashboardController@index')->name('admin.dashboard.index');
Route::get('/sales-analytics', [
'as' => 'admin.sales_analytics.index',
'uses' => 'SalesAnalyticsController@index',
'middleware' => 'can:admin.orders.index',
]);