06.
Environments
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
Whoops, an error! Please, try again later.
6 Comments
getting error : An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "_wdt" as such route does not exist."). after moving the _wdt and _profiler routes into the routing_dev.yml and overriding the config file using :
if ($isDevEnv) {
$container->loadFromExtension('framework', array(
'router' => array(
'resource' => '%kernel.root_dir%/config/routing_dev.yml',
)
));
}
Hey Kebabra Abdessamad,
Hmm, that's strange, can you check if you didn't forget to import it the main routing.yml file ?
If is not the case, can you show me what you have in AppKernel.php file ?
Cheers!
Hi MolloKhan thanks for reply here is a gist of my files : https://gist.github.com/kab...
Cheers ;)
solved : just removed the cache/dev content, refresh and it's working
Hey Kebara!
Ahh a cache issue, it happens sometimes, is a good practice to clear it if you don't know what's going on, it may save you sometime :)
Cheers!
Totally agree with you, thank you and have a good day/night hhh it's night in Morocco
"Houston: no signs of life"
Start the conversation!