Merge pull request #1758 from overleaf/as-remove-unused-middleware-file

Remove unused TemplatesMiddlewear file

GitOrigin-RevId: 00cf49c970171f1f99d133ee4876f2a35c89c023
This commit is contained in:
Brian Gough 2019-05-13 09:37:52 +01:00 committed by sharelatex
parent d1cc605855
commit c989179517

View file

@ -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()