Reputation: 247
Is there a way to set default host other than whats being shown in address bar? I am not talking about _url helpers , i want to do this for _path
Thanks
Upvotes: 0
Views: 181
Reputation: 43298
No, because _path
omits the host completely. E.g. users_path
does NOT produce:
http://www.domain.com/users/index
It produces:
/users/index
There is no way to set the host.
Upvotes: 1