From e99c2791bb0e2128ed3935e2f93db5bee5be3e7b Mon Sep 17 00:00:00 2001 From: visionmedia Date: Tue, 16 Mar 2010 07:58:06 -0700 Subject: [PATCH] Docs --- Readme.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/Readme.md b/Readme.md index 6f424a37..a313ba9a 100644 --- a/Readme.md +++ b/Readme.md @@ -28,6 +28,12 @@ and run: $ kiwi -v install express + +or + + Install via git clone: + + $ git://github.com/visionmedia/express.git && cd express && git submodule update ## Performance @@ -40,16 +46,8 @@ Below is a tiny Express application. View the [Wiki](http://wiki.github.com/visionmedia/express/) for detailed information. - var kiwi = require('kiwi'), - express = kiwi.require('express') - - configure(function(){ - // push "haml" and "sass" to node's load path, so - // that the View engine can require() them - kiwi.seed('haml') - kiwi.seed('sass') - }) - + require('express') + get('/user', function(){ this.redirect('/user/' + this.currentUser.id) })