Setting rails root

<johnl> hey matt, do you remember how to tell rails that it's hosted in a subdirectory of the root
<mattl> nope. not ever done that.
<johnl> ah: ActionController::AbstractRequest.relative_url_root
<johnl> in environment.rb
<mattl> so that's if i wanted to have http://mattl.co.uk/railsforum/ instead of http://railsforum.mattl.co.uk/ ?
<johnl> yer

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.