I want to send flash messages to views in total.js
and i see an alternative approach with use of query string and check that flag for know what to show in view:
in controller:
this.redirect('/?success=1');
and in related view:
@{if query.success}
//proper message
@{fi}
but i want to know is there any other approach available to show any status (error or success) messages?