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

Advertisements