I’d like to set up routes like //. Using a route like
map.connect ‘:section/:article’ works just fine, but I’ve also got an
admin area that is accessed through the route ‘admin’.
Inside the admin area I’ve got subpages like admin/sections and
admin/articles. This is conflicting with the other routes and I’m not
able to write something like map.connect ‘admin/:section’, :controller
Any suggestions on this?