middleware('auth'); } public function index() { $data = Dashboards::getStats(); return view('Admin.Shop.Dashboard.index', $data); } }