Rename method 'register' -> 'route'

This commit is contained in:
Daniel García Aubert
2019-10-04 12:22:23 +02:00
parent dd06de2632
commit a684bead92
17 changed files with 35 additions and 37 deletions
@@ -18,7 +18,7 @@ module.exports = class AdminTemplateController {
this.userLimitsBackend = userLimitsBackend;
}
register (templateRouter) {
route (templateRouter) {
templateRouter.options(`/:template_id`);
templateRouter.post('/', this.middlewares({