2014-10-08 15:07:44 +00:00
|
|
|
settings = require("settings-sharelatex")
|
|
|
|
logger = require("logger-sharelatex")
|
2016-06-06 08:28:53 +00:00
|
|
|
Settings = require("settings-sharelatex")
|
2016-08-25 09:48:29 +00:00
|
|
|
sixpack = require("../../infrastructure/Sixpack")
|
2016-06-06 08:28:53 +00:00
|
|
|
|
|
|
|
|
2014-10-08 15:07:44 +00:00
|
|
|
|
2016-09-22 14:33:50 +00:00
|
|
|
module.exports = UniversityController =
|
2014-10-08 15:07:44 +00:00
|
|
|
|
|
|
|
getPage: (req, res, next)->
|
2016-10-07 16:10:58 +00:00
|
|
|
url = req.url?.toLowerCase().replace(".html","")
|
2016-10-10 14:36:12 +00:00
|
|
|
return res.redirect("/i#{url}")
|
2014-10-08 15:07:44 +00:00
|
|
|
|
|
|
|
getIndexPage: (req, res)->
|
2016-10-07 16:10:58 +00:00
|
|
|
return res.redirect("/i/university")
|
2016-06-06 08:28:53 +00:00
|
|
|
|