How can I see my relative url root? (Rails)

The relative url root is the thing that is appended to the front of your path, but after the domain name, that typically is the unique name of your application. This is often used when you’re running more than one app on the same domain.

http://www.somedomain.com/BlogApp
http://www.somedomain.com/EcommerceApp

Rails.configuration.action_controller[:relative_url_root]

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous post Ruby Strings
Next post jQuery function for slightly opaque images