Top "Symfony-routing" questions

Routing in Symfony Framework's MVC implementation.

How to get current route in Symfony 2?

How do I get the current route in Symfony 2? For example, routing.yml: somePage: pattern: /page/ defaults: { _controller: "AcmeBundle:Test:…

php symfony routing symfony-routing
Symfony - generate url with parameter in controller

I want to generate a Url directly in my controller. I want to user a url defined in my routing.…

symfony symfony-routing
Error: "No route found for "GET /web/app_dev.php""

I have created a bundle using the command php app/console generate:bundle this add the bundle in /app/AppKernel.…

symfony symfony-2.3 symfony-routing
How does the login check_path route work without default controller/action?

I am working on symfony 2.3 project having the following routing code just2_frontend_logincheck: pattern: /login_check It doesn't have …

symfony yaml symfony-2.3 symfony-routing
Symfony2 Routing: Method Not Allowed (Allow: {Method})

so in routing.yml I have the following routes defined in order to edit and delete specific settings: routing.yml: …

php symfony symfony-routing
Symfony2: No route found for "GET /lucky/number"

I start the tutorial (as newbie) and everythings works fine till: http://symfony.com/doc/current/book/page_creation.html#…

php symfony symfony-2.7 symfony-routing
Symfony 3 Redirect All Routes To Current Locale Version

I am working on a symfony application where my goal is no matter what page the user is on it …

php locale symfony symfony-routing
Route is in debug list but returns 404 in Symfony 4

Ok, so I just installed latest version Symfony 4. Run the browser after installation and a nice welcome greeting shows. All …

symfony4 symfony-routing
Symfony 4 global route prefix

I can't find any info about the global route prefix in a Symfony 4 application. The only thing I've found is …

php symfony symfony-routing symfony4
Symfony4: No route found for "GET /lucky/number"

I am starting to play with symfony4. I've just created new application and create new LuckyController. It works with routes.…

php symfony controller symfony-routing symfony4