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.

Changeset [8887f2076a52a160bf8c852b5cd04ea588eaa46b] by Tarmo Tänav

Revision 8887f2076a52a160bf8c852b5cd04ea588eaa46b, committed by Tarmo Tänav · July 24th, 2008 @ 11:32 AM

Use :namespace instead of :path_prefix for finding controller. [#544 state:resolved]

:namespace is supposed to be the module where controller exists.

:path_prefix can contain anything, including variables, which

makes it unsuitable for determining the module for a controller.

Signed-off-by: Pratik Naik

Conflicts:

actionpack/test/controller/routing_test.rb

Signed-off-by: Michael Koziarski

http://github.com/rails/rails/co...

2 changed files

  • M actionpack/lib/action_controller/routing/builder.rb
  • M actionpack/test/controller/routing_test.rb