]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/Model/Base.pm
Pass object and arguments to model methods.
[maypole.git] / 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 {