This project is archived and is in readonly mode.

#544 ✓resolved
Tarmo Tänav

Use :namespace instead of :path_prefix to determine controller module namespace

Reported by Tarmo Tänav | July 3rd, 2008 @ 03:52 PM | in 2.x

Example of the problem is at: http://pastie.org/227073

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

Comments and changes to this ticket

  • Repository

    Repository July 3rd, 2008 @ 04:15 PM

    • State changed from “new” to “resolved”

    (from [a37d065f85941e1fe746dff4d42f015e1618834f]) 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...

  • Repository

    Repository July 24th, 2008 @ 11:33 AM

    (from [8887f2076a52a160bf8c852b5cd04ea588eaa46b]) 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...

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>

People watching this ticket

Attachments

Pages