Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 886a7e69c7
Fetching contributors…

Cannot retrieve contributors at this time

file 16 lines (13 sloc) 0.325 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
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
}
Something went wrong with that request. Please try again.