Rename function

This commit is contained in:
Daniel García Aubert
2018-05-11 16:21:57 +02:00
parent 3bcf6d7ca0
commit 595d006d5b
@@ -62,11 +62,11 @@ module.exports = class NamedMapController {
}
register (templateRouter) {
templateRouter.get(`/:template_id/jsonp`, this.composeInstantiateTemplateMiddleware());
templateRouter.post(`/:template_id`, this.composeInstantiateTemplateMiddleware());
templateRouter.get('/:template_id/jsonp', this.middlewares());
templateRouter.post('/:template_id', this.middlewares());
}
composeInstantiateTemplateMiddleware () {
middlewares () {
const isTemplateInstantiation = true;
const useTemplateHash = true;
const includeQuery = false;