def register_routes(self):
    Route.set_controller_locations(self.application.make('controllers.location'))
    self.application.bind('routes.location', 'routes/web')
    self.application.make('router').add(Route.group(load(self.application.make('routes.location'), 'ROUTES'), middleware=['web']))
def register_routes(self):
    Route.set_controller_locations(self.application.make('controllers.location'))
    self.application.bind('routes.location', 'routes/web')
    self.application.make('router').add(Route.group(load(self.application.make('routes.location'), 'ROUTES'), middleware=['web']))