diff --git a/src/AppBundle/Controller/AdminScoreController.php b/src/AppBundle/Controller/AdminScoreController.php index 062841280..7cfd54818 100644 --- a/src/AppBundle/Controller/AdminScoreController.php +++ b/src/AppBundle/Controller/AdminScoreController.php @@ -9,6 +9,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; +use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; use DateTime; use Xtools\ProjectRepository; diff --git a/src/AppBundle/Controller/EditSummaryController.php b/src/AppBundle/Controller/EditSummaryController.php index c941b6bd2..1699862ee 100644 --- a/src/AppBundle/Controller/EditSummaryController.php +++ b/src/AppBundle/Controller/EditSummaryController.php @@ -48,7 +48,7 @@ public function indexAction(Request $request) $params = $this->parseQueryParams($request); // If we've got a project, user, and namespace, redirect to results. - if (isset($params['project']) && isset($params['username']) && isset($params['namespace'])) { + if (isset($params['project']) && isset($params['username'])) { return $this->redirectToRoute('EditSummaryResult', $params); }