title: Passing Params to Symfony Routes
body: <p>I have a defined route that displays a dynamic page:</p>
  
  <pre><code>page_show:
    url:     /:domain_slug/:slug
    class:   sfPropelRoute
    options:
      model: Page
      type:  object
  method: doSelectByDomain
    param:   { module: page, action: show }
    requirements:
      sf_method: [get]
  </code></pre>
  
  <p>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 <code>:domain_slug</code> and <code>:slug</code> 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.</p>
  
  <p>Is it possible to specify specific variable values in a route? In this case, I want to pass <code>:domain_slug =&gt; portal, :slug =&gt; dashboard</code> (that syntax doesn't work, btw). Essentially, I want to create a homepage route that looks something like this:</p>
  
  <pre><code>homepage:
    url:   /
    class: sfPropelRoute
    param: { module: page, action: show, array( :domain_slug =&gt; portal, :slug =&gt; dashboard ) }
    options:
      model: Page
      type: object
      method: doSelectByDomain
  </code></pre>
  
  <p>But different enough that it, you know, works. :-) I suppose I could create a simple route to a different method, modify the request parameters manually and forward to the <code>executeShow()</code> method, but that's a hack I'd rather avoid if a more elegant solution is available.</p>
  
  <p>Thanks. </p>