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

--

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