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 [a37d065f85941e1fe746dff4d42f015e1618834f] by Tarmo Tänav

Revision a37d065f85941e1fe746dff4d42f015e1618834f, committed by Repository · July 3rd, 2008 @ 04:11 PM

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

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

2 changed files

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