 app.set 'layout', 'layout'
 # app.set 'partials', head: 'head'
 app.engine 'mustache', require 'hogan-express'
+app.use "/assets", express.static "#{__dirname}/public"
+app.use express.logger()
 app.use express.bodyParser()
-app.use "/assets", express.static "#{__dirname}/public"
 
 throw "CTA API Key not configured! ($CTA_API_KEY)" unless process.env.CTA_API_KEY
 app.set 'apiKey', process.env.CTA_API_KEY

    status: 200

app.get "/route/:routeId", (req, res) ->
  console.log "Incoming Web: ", req.params
  res.set "Content-Type", "text/html"

  busNumber = req.params["routeId"]

    renderHTML(options)

app.post "/sms/", (req, res) ->
  res.set "Content-Type", "text/plain"

  busNumber = helpers.extractBusNumber(req.body.Body || "")
