X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole%2FView%2FMason.pm;h=90b3b4ee8e7e57f8fca8007d029a6f7f58f917f5;hb=5c199c0e9cd05a00bfc04d9688982979a41f3ee8;hp=4d50bbdc0a04ca7cc7820af578555a39fe3cbc79;hpb=dfcd338e0693370eeaa95ca1f4ef8c742221b348;p=maypole.git diff --git a/lib/Maypole/View/Mason.pm b/lib/Maypole/View/Mason.pm index 4d50bbd..90b3b4e 100644 --- a/lib/Maypole/View/Mason.pm +++ b/lib/Maypole/View/Mason.pm @@ -1,6 +1,7 @@ package Maypole::View::Mason; use base 'Maypole::View::Base'; use HTML::Mason; +use Maypole::Constants; sub template { my ($self, $r) = @_; @@ -13,7 +14,7 @@ sub template { ); $mason->exec($r->template, $self->vars($r)) $r->{output} = $output; - return 1; + return OK; } 1;