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