This project is archived and is in readonly mode.
path_prefix doesn't work
-
Nathan L. Walls
I am also having this problem with the Rails 3 beta.
-
José Valim
- Assigned user set to josh
- Milestone cleared.
-
josh
- State changed from new to wontfix
Take a look at the scope method
scope "/test" do resources :movies end -
Nathan L. Walls
I've tested with Joshua's scope example above, and that does have the desired effect. However, the routing documentation seems stale. The scope option is not mentioned, while :path_prefix still figures prominently in the documentation with :name_prefix.
Since this is a wontfix, code-wise, could the case address the documentation instead? If not, what's the best avenue for resolving the docs?
-
siong1987
I opened a ticket on Rails Guides.
https://rails.lighthouseapp.com/projects/16213-rails-guides/tickets...