Open fcpauldiaz opened 8 years ago
Is there a way to get the user class in twig? Something equivalent to this
$discriminator = $this->container->get('pugx_user.manager.user_discriminator'); $class = $discriminator->getClass();
I want to change the routing depending on the user class.
Is there a way to get the user class in twig? Something equivalent to this
I want to change the routing depending on the user class.