Added template map as dependency of named maps controller

This commit is contained in:
Daniel García Aubert 2016-09-01 12:35:35 +02:00
parent 0236fe3ca9
commit e4a9f2d64c

View File

@ -217,7 +217,8 @@ module.exports = function(serverOptions) {
previewBackend, previewBackend,
surrogateKeysCache, surrogateKeysCache,
tablesExtentApi, tablesExtentApi,
metadataBackend metadataBackend,
templateMaps
).register(app); ).register(app);
new controller.NamedMapsAdmin(authApi, pgConnection, templateMaps).register(app); new controller.NamedMapsAdmin(authApi, pgConnection, templateMaps).register(app);