public function show(Project $project) { $currentSprint = $project->currentSprint(); return $currentSprint ? App::make('SprintsController')->show($currentSprint) : View::make('project.view', compact('project')); }