Hey everyone,

I'm fairly new to Symfony 2 and currently working on a content
management project. Since this project has just a single entry point
(PageController) to handle a regular request I want to skip the
routing process and always use one controller. The complex internal
routing (rewrite url => page) is done within this controller.
I'm not quite sure if this is the proper way to do it. The reason why
I did this in first place was that my routing system does not return a
simple array with _controller etc. but rather a complex
PageRouteResponse object with information needed by PageController. Is
it useful in this case to hook into the internal routing or am I right
with my approach?

If I'm right, how do I redirect every request to a single controller?

Cheers,
Chris


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