I guess you want this:

param: { module: page, action: show, domain_slug: whatever, slug: whatever2 }

On Mon, Dec 28, 2009 at 14:17, Rob Wilkerson <r...@robwilkerson.org> wrote:
> I have a defined route that displays a dynamic page:
>
> page_show:
>  url:     /:domain_slug/:slug
>  class:   sfPropelRoute
>  options:
>    model: Page
>    type:  object
>    method: doSelectByDomain
>  param:   { module: page, action: show }
>  requirements:
>    sf_method: [get]
>
> This works great, but now I want my homepage URI to route to a
> specific page. To do that, I assume that I have to pass
> the :domain_slug and :slug values of the page I want to display as the
> homepage. That's fine, but I can't seem to track down any
> documentation or example that shows me how to go about doing that. Is
> it possible to specify specific variable values in a route?
>
> Thanks.
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> symfony-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

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


Reply via email to