Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 886a7e69c7
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (13 sloc) 0.325 kB
home = (req, res) ->
viewModel = {}
res.render 'home', viewModel
about = (req, res) ->
viewModel = { title: "About Hector"}
res.render 'about', viewModel
notFound = (req, res) ->
res.render '404.ejs', { status: 404, message: 'Page not found' }
module.exports = {
home: home,
about: about,
notFound: notFound
}
Jump to Line
Something went wrong with that request. Please try again.