title: Rails: How do I add an additional parameter to resource-based link_to call?
body: <p>I have a resource defined in routes.rb like so:</p>
  
  <pre><code>map.resources :users
  </code></pre>
  
  <p>I like using the cleanest link_to option, which would be:</p>
  
  <pre><code>link_to @user
  </code></pre>
  
  <p>I'd like to add an additional parameter to this call, though: "view=local"</p>
  
  <p>If I were using the user_path, I'd do this:</p>
  
  <pre><code>link_to user_path(@user, { :view =&gt; 'local' })
  </code></pre>
  
  <p>Is there a way to get the same result without including the user_path function explicitly?  Ideally, I'd do something like:</p>
  
  <pre><code>link_to @user, { :view =&gt; 'local' }
  </code></pre>
  
  <p>but that doesn't seem to work.</p>