public function store(Project $project) { $sprint = new Sprint(array_merge(array_map('trim', Input::all()), ['project_id' => $project->id])); $actionHandler = \Phragile\Phragile::getGlobalInstance()->newSprintStoreActionHandler(); $actionHandler->performAction($sprint, Auth::user()); return $actionHandler->getRedirect(); }
private function sprintNotFound($sprintPhabricatorId) { $actionHandler = Phragile::getGlobalInstance()->newSprintNotFoundActionHandler(); return $actionHandler->performAction($sprintPhabricatorId, Auth::check()); }