Fix(flash): Turn flash messages into toasts.

This commit is contained in:
Berkeley Martinez
2016-09-01 17:37:30 -07:00
parent 5b2f34b78f
commit 1a7c289324
2 changed files with 25 additions and 5 deletions

View File

@@ -87,6 +87,7 @@ export default function reactSubRouter(app) {
const { title } = state.app;
epic.dispose();
res.expose(state, 'data');
res.expose(req.flash(), 'flash');
return res.render$(
'layout-react',
{ markup, title }