             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

serveStatic = require 'serve-static'

vendor_module = (module,args...) ->
  fs.readFileSync (path.join (path.dirname require.resolve module), args...), 'utf-8'

socketio_key = '__session'

