From 44abff15e4f79c4a43fefde72127227e61b1f4b6 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Wed, 14 Apr 2004 13:24:38 +0000 Subject: [PATCH] Pass object and arguments to model methods. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@133 48953598-375a-da11-a14b-00016c27c3ee --- lib/Maypole/Model/Base.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5