Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 private function sprintNotFound($sprintPhabricatorId)
 {
     $actionHandler = Phragile::getGlobalInstance()->newSprintNotFoundActionHandler();
     return $actionHandler->performAction($sprintPhabricatorId, Auth::check());
 }