title: Unknown action: The action could not be found for Controller
body: <p>This has been driving me nuts for a whole day.  I have the following in my ccpayment controller:</p>
  
  <pre><code>#"ccpayments.rb"
  
    def checkout
      raise ActionController::RoutingError.new('No invoice found with that invoice code')
    end
  </code></pre>
  
  <p>The raise error bit is for testing only... I removed the content to be sure I wasn't messing up something there.</p>
  
  <p>Then in my routes I have</p>
  
  <pre><code>  scope "/:locale" do
      resources :jurisdictions, :except =&gt; ['show']
      resources :ccpayments do
        collection do
          get "checkout"
        end
      end
    end
  </code></pre>
  
  <p>A rake routes show</p>
  
  <pre><code>checkout_ccpayments GET  /:locale/ccpayments/checkout(.:format) ccpayments#checkout
  </code></pre>
  
  <p>However, when running this on ...:3000/en/ccpayments/checkout I get</p>
  
  <blockquote>
    <p>Unknown action The action 'checkout' could not be found for
    CcpaymentsController</p>
  </blockquote>
  
  <p>If I add a view it will show the view, but the action is never called.  I am sure I am missing something basic as I am a rails novice, but what?  Any help appreciated!</p>