This project is archived and is in readonly mode.

#4053 ✓wontfix
DavidBackeus

path_prefix doesn't work

Reported by DavidBackeus | February 25th, 2010 @ 01:09 PM | in 3.0.2

Using :path_prefix in resources routes doesn't seem to do anything in current edge rails (529d0f581276f9aad32432ef65421bc1a59b52e8). Though according to the routing guide it should.

Reproduce by...

rails my_app
cd my_app
script/rails g scaffold Movie title:string

edit config/routes.rb to:
resources :movies, :path_prefix => "/test"

rake routes

And notice how path_prefix has not been added to the routes.

Comments and changes to this ticket

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>

Pages