From: Simon Cozens Date: Wed, 14 Apr 2004 13:24:38 +0000 (+0000) Subject: Pass object and arguments to model methods. X-Git-Tag: 2.10~229 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=44abff15e4f79c4a43fefde72127227e61b1f4b6;p=maypole.git Pass object and arguments to model methods. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@133 48953598-375a-da11-a14b-00016c27c3ee --- diff --git a/lib/Maypole/Model/Base.pm b/lib/Maypole/Model/Base.pm index dc715a0..6e60aea 100644 --- a/lib/Maypole/Model/Base.pm +++ b/lib/Maypole/Model/Base.pm @@ -18,7 +18,7 @@ sub process { $r->objects([ $obj ]); shift @{$r->{args}}; } - $class->$method($r); + $class->$method($r, $obj, @{$r->{args}}); } sub display_columns {