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