Multiple Apps disable relative_root setting

8 views
Skip to first unread message

Nathan Wienert

unread,
Mar 30, 2013, 2:58:47 AM3/30/13
to rails-t...@googlegroups.com
I'm setting up multiple apps and when I give a context_url it works fine but adds a prefix to all my routes.

So all my URLs all are "/context_url/route" rather than just the "/route".

In my application.rb I tried setting:

config.action_controller.relative_url_root = '/'

...but it didn't seem to respect that.  How can I get rid of the prefix?
Reply all
Reply to author
Forward
Message has been deleted
0 new messages