set the flash variable in the view
Merge pull request #792 from mnlg/set-flash-view

Set the flash variable in the view