you don't need {locals:{}} , just { my: 'local' } etc.
On Friday, 20 April 2012 02:59:51 UTC-7, metamind wrote:
>
> Thanks V1.
>>
>
> I have had a look through the migration page didn't notice any relevant
>> changes to the res.render function. Also
>>
>
> https://github.com/visionmedia/express/blob/master/examples/jade/index.js
> has this
>
>
> app.get('/', function(req, res){
> res.render('users', { users: users });
>
> });
>
> Which I tried.
>
> So I presume it is broken? (though I could be unobservant)
>
>
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en