title: Rails devise custom urls
body: <p>I'm aware that you can change the names of routes for devise, but I'm looking to actually add something to a devise route, like so:</p>
  
  <pre><code>match "users/sign_up/:invitation_token', :controller =&gt; 'registrations', :action =&gt; 'new'"
  </code></pre>
  
  <p>I've tried adding that line both directly above and directly below my devise routing declaration:</p>
  
  <pre><code>devise_for :users, :controllers =&gt; { :registrations =&gt; "registrations" }
  </code></pre>
  
  <p>But rails doesn't see the route.  Is there a way that I can add a parameter to the devise generated URL?</p>
  
  <p>Thanks</p>