name('admin.dashboard.index'); Route::get('/sales-analytics', [ 'as' => 'admin.sales_analytics.index', 'uses' => 'SalesAnalyticsController@index', 'middleware' => 'can:admin.orders.index', ]);