X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FBasicCRUD.pod;fp=lib%2FCatalyst%2FManual%2FTutorial%2FBasicCRUD.pod;h=6a8278f275d77a3f9440f90f2bdfde295ae639d2;hp=de0446508eb5aa1f47628d6096f6c68fb452f39e;hb=c5d94181a3ea5ce8c06b9c33c11954d8514eb120;hpb=1435672d3f51326b8f15006abcfe98180e89becb diff --git a/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod b/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod index de04465..6a8278f 100644 --- a/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod +++ b/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod @@ -658,13 +658,9 @@ C<$c-Econtroller('_controller_name_')-Eaction_for('_method_name_')>. =back -B In general, you should use more than just a simple link with -your applications. Consider using some sort of of confirmation page -(typically with unique actions in your controller for both the -confirmation and the actual delete operation). Also, you should try -to use an HTTP POST operation (versus the GET used here) for -operations that change the state of your application (e.g., the -database). +B In practice you should B use a GET request to delete a +record -- always use POST for actions that will modify data. We are +doing it here for illustrative and simplicity purposes only. =head2 Add a Common Method to Retrieve a Book for the Chain