]> git.decadent.org.uk Git - maypole.git/commitdiff
Oops, I changed the interface, didn't I?
authorSimon Cozens <simon@simon-cozens.org>
Thu, 29 Jan 2004 17:45:25 +0000 (17:45 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Thu, 29 Jan 2004 17:45:25 +0000 (17:45 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@19 48953598-375a-da11-a14b-00016c27c3ee

lib/Apache/MVC/Model/CDBI.pm

index 833550d5a059a0297973069bb144d80adb89685d..86b2d344c23f93d284a4d53336fb6eddef0d3ab9 100644 (file)
@@ -34,7 +34,7 @@ sub do_edit :Exported {
     } else {
         $r->{template} = "view";
     }
-    return $obj;
+    $r->objects([ $obj ]);
 }
 
 sub delete :Exported {