func (this ControllerShell) AddTo(superroute *router.Router) { superroute.AddRoute(this.Collection) }
func AddMapRoutes(superroute *router.Router, routemap map[string]rack.Middleware, methodfinder func(string, rack.Middleware) *router.Router) { for name, action := range routemap { superroute.AddRoute(methodfinder(name, action)) } }