Commit 201f58dd authored by Andreas Heimann's avatar Andreas Heimann

fixed comingsoon

parent 953d4bcc
......@@ -6,7 +6,6 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpKernel\Profiler\Profiler;
use App\Entity\ClientRelease;
use App\Entity\Song;
......@@ -18,14 +17,11 @@ class IndexController extends AbstractController
/**
* @Route("/", name="index.comingsoon")
*/
public function comingSoon(Profiler $profiler, Request $request)
public function comingSoon(Request $request)
{
$em = $this->getDoctrine()->getManager();
$data = [];
// Disable Debug Bar
$profiler->disable();
return $this->render('comingsoon.html.twig', $data);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment