]> git.decadent.org.uk Git - maypole.git/commitdiff
Do list properly after delete.
authorSimon Cozens <simon@simon-cozens.org>
Thu, 25 Mar 2004 12:16:25 +0000 (12:16 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Thu, 25 Mar 2004 12:16:25 +0000 (12:16 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@90 48953598-375a-da11-a14b-00016c27c3ee

lib/Maypole/Model/CDBI.pm

index e7330e48abeafe98fe9ae807f5313cc13ee2e930..6671d09cb5c7ff06859be39735ca44acd255b5de 100644 (file)
@@ -59,6 +59,7 @@ sub delete :Exported {
     $_->SUPER::delete for @{ $r->objects || [] };
     $r->objects([ $self->retrieve_all ]);
     $r->{template} = "list";
+    $self->list;
 }
 
 sub stringify_column {