Mercurial > pub > Impl
diff Lib/IMPL/Transform.pm @ 199:e743a8481327
Added REST support for forms (with only get and post methods)
author | sergey |
---|---|
date | Mon, 23 Apr 2012 01:36:52 +0400 |
parents | 2ffe6f661605 |
children | 292226770180 |
line wrap: on
line diff
--- a/Lib/IMPL/Transform.pm Fri Apr 20 16:06:36 2012 +0400 +++ b/Lib/IMPL/Transform.pm Mon Apr 23 01:36:52 2012 +0400 @@ -35,7 +35,7 @@ my $template = $this->MatchTemplate($object) || $this->default or die new IMPL::Transform::NoTransformException(ref $object); - return $this->ProcessTemplate($template,$object,\@args); + return $this->ProcessTemplate($template,$object,@args); } } @@ -70,9 +70,9 @@ } sub ProcessTemplate { - my ($this,$t,$obj,$args) = @_; + my ($this,$t,$obj,@args) = @_; - return $this->$t($obj,@$args); + return $this->$t($obj,@args); } sub GetClassForObject {