We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flash is initialized in bootstrap.
$di->set('flashSession', function () { return new \Phalcon\Flash\Session(); });
In index.volt
<div id="flash-messages">{{ flashSession.output() }}</div>
Result when there are no messages:
phalcon/Flash/Session.zep:90: [Exception] The argument is not initialized or iterable()
Expected behavior would be an empty output.
The text was updated successfully, but these errors were encountered:
Addressed in: #14024
Sorry, something went wrong.
No branches or pull requests
Actual Behavior
Flash is initialized in bootstrap.
In index.volt
Result when there are no messages:
Expected behavior would be an empty output.
Details
The text was updated successfully, but these errors were encountered: