]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/View/Base.pm
Fixed mime type setting, fixed errors in revision 445, folded in Maypole::Component...
[maypole.git] / lib / Maypole / View / Base.pm
index afba7a09486ee6a87ade8953ef2b5360fccd2606..ece5d98cb8af3167e06d8f132056c8ad1f286451 100644 (file)
@@ -25,6 +25,7 @@ sub paths {
        push(@output, File::Spec->catdir( $path, "custom" ));
        push(@output, File::Spec->catdir( $path, "factory" ));
     }
+
     return @output;
 }
 
@@ -73,8 +74,6 @@ sub vars {
 
 sub process {
     my ( $self, $r ) = @_;
-    $r->{content_type}      ||= "text/html";
-    $r->{document_encoding} ||= "utf-8";
     my $status = $self->template($r);
     return $self->error($r) if $status != OK;
     return OK;