def route(url): def int(cls): route.urls.extend([url, cls.__name__]) return cls return int