Skip to content

Commit

Permalink
Reworded the help note about flash messages
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Sep 3, 2015
1 parent 9a8d43d commit 3eefa76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/AppBundle/Controller/Admin/BlogController.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ public function newAction(Request $request)
$em->flush();

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

Expand Down

0 comments on commit 3eefa76

Please sign in to comment.