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
@@ -64,7 +64,7 @@ module.exports = class AnonymousMapController {
this.layergroupMetadata = layergroupMetadata;
}
register (mapRouter) {
route (mapRouter) {
mapRouter.options('/');
mapRouter.get('/', this.middlewares());
mapRouter.post('/', this.middlewares());