> Routing configuration is for understanding and parsing a given URL. > My problem is when generating all these URLs in my links/forms/etc. how can > I make sure the /weblog-name is appeared at the beginning of every URL?
Add routing rules like these show_post: url: /:blogname/post/show param: { module: post, action: show } add_comment: url: /:blogname/comment/add param: { module: comment, action: add } Use @show_post, @add_comment rule names as the link_to() parameters. I hope you cathed the idea. Szabolcs Heilig --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---