[Ror-es] Como detectar el nombre del dominio

Antonio Pardo antonio.pardo at gmail.com
Wed Apr 25 07:27:54 GMT 2007


El Tuesday 24 April 2007 23:45:27 Jose Pepe escribió:
> como puedo detectar el nombre del dominio en RoR y llamar a una
> aplicacion diferente segun venga del dominio A o del dominio B.

request.env["HTTP_HOST"]

ciao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.simplelogica.net/pipermail/ror-es/attachments/20070425/5a3ae9c4/attachment.pgp 


More information about the Ror-es mailing list