             for k, v of obj
               module.render v, filename: k, (err, css) ->
                 throw err if err
-                route verb: 'get', path: k, handler: css, contentType: 'css'
+                route verb: 'get', path: k, handler: css, type: 'css'
             return
         return
 

        e = null
        try
          # FIXME: pass parameters as per Express2
          r = @engine views[@path], options
        catch error
          e = "Engine .render for #{@ext} failed: #{error}"
        fn e, r

    for k, v of obj
      js = ";zappa.run(#{v});"
      js = minify(js) if app.settings['minify']
      route verb: 'get', path: k, handler: js, type: 'js'
    return

  context.coffee = (obj) ->
    for k, v of obj
      js = ";#{coffeescript_helpers}(#{v})();"
      js = minify(js) if app.settings['minify']
      route verb: 'get', path: k, handler: js, type: 'js'
    return

  context.js = (obj) ->
    for k, v of obj
      js = String(v)
      js = minify(js) if app.settings['minify']
      route verb: 'get', path: k, handler: js, type: 'js'
    return

  context.css = (obj) ->
