title: Rails no route matches controller
body: <p>I am trying to pass both a user id, and a test id to a controller using link_to. Below is my code:</p>
  
  <pre><code>&lt;%= link_to(test.name, user_test_result_path(:userd_id =&gt; 1, protocol.id)) %&gt;
  </code></pre>
  
  <p>and below are my routes:</p>
  
  <p><a href="https://i.stack.imgur.com/y4vWr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y4vWr.png" alt="enter image description here"></a></p>
  
  <p>but I keep getting the following error:</p>
  
  <p><a href="https://i.stack.imgur.com/kpFSr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kpFSr.png" alt="enter image description here"></a></p>
  
  <p>Why is it saying that no route matches :action => show and :controller=>"test_results when according to my routes it does exist?</p>