connect-flash icon indicating copy to clipboard operation
connect-flash copied to clipboard

Use flash scope in Handlebars template without passing the value through controllers

Open mrsarm opened this issue 9 years ago • 0 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>

mrsarm avatar Jun 06 '16 14:06 mrsarm