Toggle nav
Posted 8 years ago - updated 8 years ago phalcon flash
In your services.php file:
services.php
$di->set('flash', function () { return new Phalcon\Flash\Session(); });
Then in volt:
{{ flash.output() }}
Or Php
<?php echo $this->flash->output(); ?>