Categories
Programming

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

OR LOG IN WITH




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