Closed ericf closed 10 years ago
Were you thinking of doing this with get()
and set()
?
app.set('layoutsDir', '/layouts/custom');
Yeah… something like that, but probably namespaced like "handlebars layouts dir"
in case an app is using many view engines. Still not sure if it's a great idea yet.
No one was asked for this, so closing it…feel free to open if you feel strongly about wanting this feature.
All the the configuration properties could be expressed as application settings via Express. Would it be a good idea to switch these to app settings?