title: Alias route for same controller action in Rails 4
body: <p>I'm new to rails routes...</p>
  
  <p>I'm trying to create an alias route for my</p>
  
  <pre><code>resources :users
  </code></pre>
  
  <p>^ <code>/users/123</code></p>
  
  <p>My goal is to add a <code>/granted</code> at the end of the URL so something like <code>/users/123/granted</code></p>
  
  <p>I'm trying to add a <code>get</code> to create another route for the same controller action... I need this for the SEO</p>
  
  <pre><code>get '/users/:id/granted', to: 'users#show', as: :granted
  </code></pre>
  
  <p>^ I'm expecting this to generate <code>/users/:id/granted</code> but I keep getting...</p>
  
  <p><code>/users/:user_id/users/:id/granted</code></p>
  
  <p>Looks like it's attaching a different format, with <code>:user_id</code> as the parameter... but I need the parameter to stay as <code>:id</code></p>
  
  <p>I tried</p>
  
  <p><code>get '/granted', to: 'users#show', as: :granted</code></p>
  
  <p>it generates <code>/users/:user_id/granted</code> which is not okay because as I mentioned above... I want the parameter key to stay as <code>:id</code></p>