public function index() { $articles = Article::all(); $tutorials = Tutorial::all(); $users = User::where('is_sitepoint', false)->get(); $meetups = Meetup::all(); $projects = Project::all(); $bugs = Bugreport::all(); return view('backend.pages.dashboard', compact('articles', 'tutorials', 'users', 'meetups', 'projects', 'bugs')); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $reports = Bugreport::all(); return view('backend.bugreports.list', compact('reports')); }