title: symfony route seems to work with GET but not POST
body: <p>I have a page whose URI is <code>/importBundle/96/iTunes</code> where <code>96</code> is the import bundle's id. When I navigate to this page in a browser, it works just fine. However, when I submit the form (which submits right back to the same page) I get "Action "importBundle/96" does not exist," which is absolutely true, but that's not where I'm telling it to go. When I get this error, I still see <code>/importBundle/96/iTunes</code> in the address bar.</p>
  
  <p>Any idea why this could be the case?</p>
  
  <p>(I'm on symfony 1.4.)</p>
  
  <p><strong>Edit</strong>: here's what I have in my routing.yml:</p>
  
  <pre><code>import_bundle:
    class: sfDoctrineRouteCollection
    options:
      model:                ImportBundle
      module:               importBundle
      prefix_path:          /importBundle
      column:               id
      with_wildcard_routes: true
  </code></pre>
  
  <p>And here's my opening <code>&lt;form&gt;</code> tag:</p>
  
  <pre><code>&lt;form action="&lt;?php echo url_for('importBundle/iTunes?id='.$import_bundle-&gt;getId()) ?&gt;" method="post" enctype="multipart/form-data"&gt;
  </code></pre>
  
  <p><strong>Edit 2</strong>: Here's how I tried to add <code>sf_method</code>:</p>
  
  <pre><code>import_bundle:
    class: sfDoctrineRouteCollection
    options:
      model:                ImportBundle
      module:               importBundle
      prefix_path:          /importBundle
      column:               id
      with_wildcard_routes: true
    requirements:
      sf_method: [get,post]
  </code></pre>
  
  <p>It doesn't work. Did I do it wrong? The way I did it seems consistent with <a href="http://www.symfony-project.org/jobeet/1_4/Doctrine/en/05#chapter_05_route_class" rel="nofollow">the docs</a>, so I'm confused.</p>