X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FApache%2FMVC%2FView%2FTT.pm;h=babd0f457a9260735ccd438eb88c5b2ce2c00837;hb=4c4e58eb02155a43397f30b900c5b30f755cb874;hp=4c15ea9e28a3e0861409caf573c4aad3e75c19aa;hpb=ce6a4c9c85fd9ea388abc677089564bc46e687be;p=maypole.git diff --git a/lib/Apache/MVC/View/TT.pm b/lib/Apache/MVC/View/TT.pm index 4c15ea9..babd0f4 100644 --- a/lib/Apache/MVC/View/TT.pm +++ b/lib/Apache/MVC/View/TT.pm @@ -26,7 +26,6 @@ sub _args { my $class = $r->model_class; my %args = ( request => $r, - class => $class, objects => $r->objects, base => $r->config->{uri_base}, config => $r->config @@ -61,11 +60,9 @@ sub process { my ($self, $r) = @_; my $template = $self->_tt($r); my $output; - warn "Processing ".$r->template; $template->process($r->template, { $self->_args($r) }, \$output) || return $self->error($r, $template->error); - warn "And off it goes!\n"; $r->{ar}->content_type("text/html"); $r->{ar}->headers_out->set("Content-Length" => length $output); $r->{ar}->send_http_header;