Use flash scope in Handlebars template without passing the value through controllers
mrsarm opened this issue · comments
Is there any way to read a value of the flash scope in a Handlebars template (I'm ussing express-handlebars
module) without passing explicitly from the controller? Something like this:
<p class="error-msg">{{flash.error}}</p>