Hi All,
I have application which allow users to create there on URL for a page on a particular domain.
What I want to achieve is to create URL having variable number of parameters separated by "/". For example:
www.mydomain.com/a
ww.mydomain.com/a/b
www.mydomain.com/a/b/c
and so on. After the root, everything would be considered as parameters. The final result I need in Rails code is two strings:
1."www.mydomain.com" 2. "a" or "a/b" or "a/b/c" (whatever is after the root)
Thanks, Imran