After updating my vendors recently, a few things has happened to my project:

   - The homepage route seems to now be matching everything, so that no 
   matter the url, the homepage is shown.
   - Any calls to $view['router']->generate(...) in the dev environment now 
   forgets adding "dev.php" to the url, so that all links link to the prod 
   environment - similar to setting no_script_name=true in sf1.

This is an excerpt of my routing.yml file:

hello:

    pattern: /{name}

    defaults: { _controller: ReportingBundle:Report:show }


homepage:

    pattern:  /

    defaults: { _controller: ReportingBundle:Report:dashboard }


Requests to both / and /whatever point to the dashboard action in the Report 
controller of the ReportingBundle.

Can anyone tell me why?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to