]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Apache/MVC/View/TT.pm
Swathes of documentation.
[maypole.git] / lib / Apache / MVC / View / TT.pm
index 4c15ea9e28a3e0861409caf573c4aad3e75c19aa..babd0f457a9260735ccd438eb88c5b2ce2c00837 100644 (file)
@@ -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;