Hi, how can I remove flash messages from session after they have been shown?
In volt, i'm currently doing this
{% for error in flash.getMessages('error', true) %}
<li> {{ error }} </li>
{%endfor%}
However it does not remove them, what should I use in order to do this?