Skip to content

Commit

Permalink
Fixed readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jan 12, 2010
1 parent a2899a0 commit b766234
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,15 @@ Or with the [gh](http://github.com/visionmedia/gh) utility:

## Examples

require.paths.unshift('lib')
Below is a minimal app example when express is already within your load path.

require('express')
require('express/plugins')

configure(function(){
use(MethodOverride)
use(ContentLength)
use(Redirect)
set('root', dirname(__filename))
enable('cache view contents')
})

get('/hello', function(){
Expand Down

0 comments on commit b766234

Please sign in to comment.