Remove old ref to flash
hkclark [Thu, 1 Sep 2011 16:16:47 +0000 (12:16 -0400)]
lib/Catalyst/Manual/Tutorial/06_Authorization.pod

index bb78efa..7ef18f4 100644 (file)
@@ -307,9 +307,6 @@ match the following code:
         # with related 'book_authors' entries
         $c->stash->{object}->delete;
     
-        # Use 'flash' to save information across requests until it's read
-        $c->flash->{status_msg} = "Book deleted";
-    
         # Redirect the user back to the list page
         $c->response->redirect($c->uri_for($self->action_for('list'),
             {mid => $c->set_status_msg("Deleted book $id")}));