Forum: Ruby on Rails Setting config.action_controller.relative_url_root isn't working

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A91bd6cef23eb3516245a092e196c4da?d=identicon&s=25 Maurício Linhares (mauricio)
on 2009-05-06 17:24
(Received via mailing list)
Hi everyone,

I'm trying to set the "config.action_controller.relative_url_root"
config value but it isn't working:

config.action_controller.relative_url_root = "/de"

When i try to view the http://localhost:3000/de page it gives me a
"Routing Error", but if I try http://localhost:3000/ it works
perfectly. Any idea about what this might be?

-
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/
(en)
This topic is locked and can not be replied to.