X-Git-Url: https://git.decadent.org.uk/gitweb/?p=maypole.git;a=blobdiff_plain;f=lib%2FMaypole%2FView%2FBase.pm;h=ece5d98cb8af3167e06d8f132056c8ad1f286451;hp=afba7a09486ee6a87ade8953ef2b5360fccd2606;hb=f19715f56244cc6d862169c2dd656b8a2f3845b5;hpb=3886be13f39d6d3fc8d0b76d4716175df1bb8056 diff --git a/lib/Maypole/View/Base.pm b/lib/Maypole/View/Base.pm index afba7a0..ece5d98 100644 --- a/lib/Maypole/View/Base.pm +++ b/lib/Maypole/View/Base.pm @@ -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;