Hi,
how can I write routes to achieve something like generic route, which
redirects to dynamically resolved controller?

generic:
  pattern: /{_controller}/{_action}
  defaults: {_bundle: ExpencesBundle}

I want this route to be kind of generic catch-all. So it will do
following routings;
/operations/index => _controller: ExpencesBundle:Operations:index
/stats/monthly  => _controller: ExpencesBundle:Stats:monthly

is it possible in Symfony2?

-- 
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