Routing problem


#1

Hi,
Could you help me to do a route from
/user/%handle%/%controller%[/%action%[/%param1%[/%param3%/]]] to the
Controller ‘user/%controller%’?
It’s for a userpages system and I want to make a difference between the
userpage area and the rest of the system (e.g. portal).
If possible, something like %handle%.domain.tld/%controller%/[…] would
be nice too (*.domain.tld for controller ‘user/%controller%’)!

Thank you


#2

Alex,

Could you help me to do a route from
/user/%handle%/%controller%[/%action%[/%param1%[/%param3%/]]] to the
Controller ‘user/%controller%’?

Not possible at the moment. I’d love to see that feature too…

It’s for a userpages system and I want to make a difference between the
userpage area and the rest of the system (e.g. portal).
If possible, something like %handle%.domain.tld/%controller%/[…] would
be nice too (*.domain.tld for controller ‘user/%controller%’)!

http://wiki.rubyonrails.com/rails/pages/HowToUseSubdomainsAsAccountKeys