Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Routing error in tests with capitalized controller

#6205

In Rails 3.0.3,

  resource :privacy, :controller => "Privacy"

works fine when accessing the server, but from the functional tests it doesn't work.

  resource :privacy, :controller => "privacy"

works in both cases.

Reported by Paul McMahon · December 22nd, 2010 @ 06:35 AM

State: wontfix
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Andrew White
    Andrew White
    • State changed from new to wontfix
    • Importance changed from to Low

    The convention is to use an underscored name for the controller in your routes.rb file so "Privacy" is incorrectly specified.

    February 9th, 2011 @ 04:39 AM