1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-01-23 17:43:36 +00:00
overleaf/services/web/app/coffee/Features/Templates/TemplatesMiddlewear
2018-05-31 13:26:54 +01:00

8 lines
222 B
Text

settings = require("settings-sharelatex")
logger = require("logger-sharelatex")
module.exports =
saveTemplateDataInSession: (req, res, next)->
if req.query.templateName
req.session.templateData = req.query
next()