Forum: Ruby on Rails Routing problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Alexander Flatter (Guest)
on 2006-05-25 12:11
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
iktorn (Guest)
on 2006-05-26 14:25
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/HowToUseSu...
This topic is locked and can not be replied to.