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
@@ -32,7 +32,7 @@ module.exports = class AttributesLayergroupController {
this.surrogateKeysCache = surrogateKeysCache;
}
register (mapRouter) {
route (mapRouter) {
mapRouter.get('/:token/:layer/attributes/:fid', this.middlewares());
}