Hi,

I have already used subdomains in rails 3 and it was straightforward
to setup.

What im trying to do at the moment is have the client name after
the .com/ so its always present www.myurl.com/client_name so i can
grab who the client is and use that throughout their session.

localhost:3000/{client_1}/news
localhost:3000/{client_2}/news

I have searched around and cant really find any examples of this so im
wondering if its possible and/or good practice.  I would prefer the
subdomain route but the client specifically wants it setup this way
and im not really sure how best to do it, any advice is appreciated,

JB

-- 
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.

Reply via email to