From 4c073ff28553095a2fec6b04156f9fab801beded Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Fri, 8 Aug 2014 14:43:07 +0100 Subject: [PATCH] render template name in CanonicalPage --- .../app/coffee/Features/Templates/TemplatesWebController.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/app/coffee/Features/Templates/TemplatesWebController.coffee b/services/web/app/coffee/Features/Templates/TemplatesWebController.coffee index cc86f90f07..19cb7c5fe3 100644 --- a/services/web/app/coffee/Features/Templates/TemplatesWebController.coffee +++ b/services/web/app/coffee/Features/Templates/TemplatesWebController.coffee @@ -50,6 +50,7 @@ module.exports = TemplatesWebController = if err? logger.err err:err, user_id:user_id, template_id:template_id, "something went wrong in _renderCanonicalPage" return res.send 500 + data.title = data?.template?.name data.tag = null res.render "templates/template", data