public function get() { $project = ProjectService::get(Request::get('id')); if ($project) { $this->asJson($project); } else { $this->asJson(false); } }