Re: [Rails] Account name added to URL

2009-12-08 Thread samuel gilman
Hi, did you consider using permalinks? I use them to hide users account Id and for SEO purposes. Sam On Tue, Dec 8, 2009 at 11:47 AM, tispratik wrote: > Hi, > > How do we add default path to each route according to the account? > > ex:) My Webapp resides at www.example.com > If I have 1 account

[Rails] Account name added to URL

2009-12-08 Thread tispratik
Hi, How do we add default path to each route according to the account? ex:) My Webapp resides at www.example.com If I have 1 account named rorTalk and another named rubyTalk then both accounts should get their own sub url. eg) www.example.com/rorTalk/ www.example.com/railsTalk/ Then anything in