Skip to content
Myr

Defaulting views to <root>/views

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent 8026266 · Browse files · 4 files+15 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+15 added−3 removed

  • tests:+1 added−0 removed
  • other:+14 added−3 removed

4 files+15 added−3 removed

modified:examples/app.js+7 added-3 removed
modified:lib/express/spec/mock-routes.js+1 added
modified:lib/express/core.js+6 added
277 unmodified lines
278 settings: {},279 server: new Server,280 router: new Router281}282283// --- Defaults284285configure(function(){286 set('views', function(){ return set('root') + '/views' })287})
modified:lib/express/dsl.js+1 added
65 unmodified lines
66 * @api public67 */6869exports.run = function(host, port) {70 configure('development')71 Express.server.run(host, port)72}7374/**
43 unmodified lines