Skip to content

Commit 3eefa76

Browse files
committed
Reworded the help note about flash messages
1 parent 9a8d43d commit 3eefa76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/AppBundle/Controller/Admin/BlogController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ public function newAction(Request $request)
8888
$em->flush();
8989

9090
// Flash messages are used to notify the user about the result of the
91-
// actions. They only last as long as the next request.
91+
// actions. They are deleted automatically from the session as soon
92+
// as they are accessed.
9293
// See http://symfony.com/doc/current/book/controller.html#flash-messages
9394
$this->addFlash('success', 'post.created_successfully');
9495

0 commit comments

Comments
 (0)