From c989179517fef6db5b79ec968cf47817cfa1c42c Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Mon, 13 May 2019 09:37:52 +0100 Subject: [PATCH] Merge pull request #1758 from overleaf/as-remove-unused-middleware-file Remove unused TemplatesMiddlewear file GitOrigin-RevId: 00cf49c970171f1f99d133ee4876f2a35c89c023 --- .../web/app/coffee/Features/Templates/TemplatesMiddlewear | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 services/web/app/coffee/Features/Templates/TemplatesMiddlewear diff --git a/services/web/app/coffee/Features/Templates/TemplatesMiddlewear b/services/web/app/coffee/Features/Templates/TemplatesMiddlewear deleted file mode 100644 index 300721c889..0000000000 --- a/services/web/app/coffee/Features/Templates/TemplatesMiddlewear +++ /dev/null @@ -1,8 +0,0 @@ -settings = require("settings-sharelatex") -logger = require("logger-sharelatex") - -module.exports = - saveTemplateDataInSession: (req, res, next)-> - if req.query.templateName - req.session.templateData = req.query - next()