]> git.decadent.org.uk Git - maypole.git/commitdiff
Pass object and arguments to model methods.
authorSimon Cozens <simon@simon-cozens.org>
Wed, 14 Apr 2004 13:24:38 +0000 (13:24 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Wed, 14 Apr 2004 13:24:38 +0000 (13:24 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@133 48953598-375a-da11-a14b-00016c27c3ee

lib/Maypole/Model/Base.pm

index dc715a0bdaeeeddcb8499f557470eca633f2c71c..6e60aea7f9c3f4505b93263eaa31fcef4dc240d2 100644 (file)
@@ -18,7 +18,7 @@ sub process {
         $r->objects([ $obj ]);
         shift @{$r->{args}};
     }
-    $class->$method($r);
+    $class->$method($r, $obj, @{$r->{args}});
 }
 
 sub display_columns {