overleaf/services/web/app/coffee/Features/Errors/ErrorController.coffee
2014-08-07 13:56:04 +01:00

5 lines
No EOL
136 B
CoffeeScript

module.exports = ErrorController =
notFound: (req, res)->
res.statusCode = 404
res.render 'general/404',
title: "page_not_found"