Clark wrote:
> Hi-
>
> I have an shopping cart rails app.
>
> I would like to be able to host multiple domain names within the same
> shopping cart application.
>
> I would like to be able to detect the domain name, and then set a
> parameter that tells what logo to display for that domain name.
>
> Does anyone know how this can be done?
>
> Thanks,
> Clark
Hello,
As per your post i think you are looking for multi sites concept.
In multi sites it uses same code base and different views as per domain.
i think this plugin help you. http://github.com/dasil003/rails-multisite
Thanks,
Priyanka Pathak
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---