public function index() { $projects = Project::all(); return view('projects.index')->withProjects($projects); }