overleaf/services/web/app/coffee/Features/Errors/ErrorController.coffee

5 lines
136 B
CoffeeScript
Raw Normal View History

2014-06-20 16:17:24 +00:00
module.exports = ErrorController =
notFound: (req, res)->
res.statusCode = 404
res.render 'general/404',
title: "Page Not Found"