/** * Display a listing of the resource. * * @return Response */ public function index() { $dashboardWidgets = Dashboardwidget::orderBy('position', 'asc')->get(); return view_backend('dashboard', compact('dashboardWidgets')); }