mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-17 23:41:16 -05:00
16 lines
399 B
CoffeeScript
16 lines
399 B
CoffeeScript
settings = require("settings-sharelatex")
|
|
logger = require("logger-sharelatex")
|
|
Settings = require("settings-sharelatex")
|
|
sixpack = require("../../infrastructure/Sixpack")
|
|
|
|
|
|
|
|
module.exports = UniversityController =
|
|
|
|
getPage: (req, res, next)->
|
|
url = req.url?.toLowerCase().replace(".html","")
|
|
return res.redirect("/i#{url}")
|
|
|
|
getIndexPage: (req, res)->
|
|
return res.redirect("/i/university")
|
|
|