Account name added to URL

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 the system should be accesses through these default
routes.

eg)
www.example.com/rorTalk/Blogs/1/edit
www.example.com/rubyTalk/Blogs/2/edit

etc....

How do i go about it?
1. Concept (How it Works ?)
2. Design (routes.rb, controllers etc)

Thanks and Regards,
Pratik

Hi, did you consider using permalinks? I use them to hide users account Id and for SEO purposes.

Sam

Hi Samuel,

Thanks for the reply. I have never used permalinks, can you point me
to some tutorial for using it?

-Pratik