Is it possible to have the same route path but for 2 different actions. I want to use an action when the user is logged in and another when the user isn't logged in.
/**
* @Route("/", name="bundle_index")
* @Template("NameBundle:Default:index.html.twig")
*/
/**
* @Route("/", name="bundle_index_auth")
* @Security("has_role('ROLE_USER')")
* @Template("NameBundle:Default:auth.html.twig")
*/