Skip to content

Commit f3304d8

Browse files
marcagrioOskarStark
authored andcommitted
Update session.rst
1 parent 568924e commit f3304d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

session.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ For example, imagine you're processing a :doc:`form </forms>` submission::
176176
$flashes->add('error', 'Another error');
177177
178178
After processing the request, the controller sets a flash message in the session
179-
and then redirects. The message key (``notice`` in this example) can be anything:
179+
and then redirects. The message key (``warning`` and ``error`` in this example) can be anything:
180180
you'll use this key to retrieve the message.
181181

182182
In the template of the next page (or even better, in your base layout template),

0 commit comments

Comments
 (0)