niftylettuce/expressling — Issue #2: Unable to use app.helpers in views
Author: richardrowe
Created: 2011-11-23 18:50:15+00:00
State: open

After defining helpers in either server.js or settings.js they seem not to get parsed/executed in the views using Expressling.

For example (server.js or settings.js);

app.helpers({
foo: function(str) { console.log(str) }
});

And in my view I would do;
foo('test')

This doesn't seem to have any effect at all. Any ideas if it's Expressling or my version of node/express.

Thanks