2009/2/11 Anders Gunnarsson <[email protected]>: > Hi > > I have made a route that points > domain.com/username > to a controller "users" with action "view". > > > But at the same time, I would like existing controllers to > be prioritized before the routing. > Eg > domain.com/videos > > should point to the controller "videos" not the username. > > Is this possible? > > regards > Anders >
Yes, it is possible. The order in which you're adding your routes is important. Just put your username route before the others (the more prioritized ones). -- Regards, Martin Martinov http://mmartinov.com/
