title: Why is my custom route being ignored?
body: <p>I have a controller called banana.rb</p>
  
  <p>In routes.rb I have:</p>
  
  <pre><code> resources :banana, :path =&gt; "ban_fruit" do
      get 'list'
    end
  </code></pre>
  
  <p>And in the browser, I hit <a href="http://host.com/ban_fruit/list.json" rel="nofollow">http://host.com/ban_fruit/list.json</a></p>
  
  <p>But it errors, telling me: "The action 'show' could not be found for BananaController"</p>
  
  <p>I need <a href="http://host.com/ban_fruit/list.json" rel="nofollow">http://host.com/ban_fruit/list.json</a>  to work, how can I do this without renaming my controller?</p>