This project is archived and is in readonly mode.

Changeset [a37d065f85941e1fe746dff4d42f015e1618834f] by Tarmo Tänav

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...

Committed by Repository

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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>