title: Can Ruby on Rails have multiple routes to one action while being able to differentiate in action?
body: <p>What I'd like to do is something like this</p>
  
  <p><code>get 'example/:id' =&gt; 'example#same_action'</code></p>
  
  <p>and also </p>
  
  <p><code>get 'slightly_different/:id' =&gt; 'example#same_action'</code></p>
  
  <p>but then be able to differentiate inside of <code>same_action()</code> as to which rule was used.  </p>
  
  <p>Is this better achieved by refactoring into model and partials?</p>