From 652e16646299589bb496ccf914e041883a79ce9f Mon Sep 17 00:00:00 2001
From: Tj Holowaychuk req.param(name[, default])
should be an object. This can be done by using
the _express.bodyParser middleware.
Get field’s param value, defaulting to ‘’ when the param + or field is not present.
+ + req.get('content-disposition', 'filename');
+ // => "something.png"
+
+ req.get('Content-Type', 'boundary');
+ // => "--foo-bar-baz"
+
+
Queue flash msg of the given type.
diff --git a/docs/index.html b/docs/index.html index 85ba93769b..8d66b5f07f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -239,19 +239,29 @@objects, functions, modules and more to client-side js with ease +namespaced route support +pre-condition functions +for easy rendering of Mongoose async Query results
Both res.partial() and the partial() functions accept an single object consisting of both the options and the locals. Previously with Express 1.x you may pass user to a partial, along with date like so:
+Both res.partial() and the partial() functions accept a single object consisting of both the options and the locals. Previously with Express 1.x you may pass user to a partial, along with date like so:
partial('user', { object: user, locals: { date: new Date }})
@@ -367,7 +367,7 @@ Previously partials were loaded relative to the now removed view partials directory setting, or by default views/partials, now they are relative to the view calling them, read more on view lookup.
+Previously partials were loaded relative to the now removed view partials directory setting, or by default views/partials, now they are relative to the view calling them, read more on view lookup.