Browse files

as_stringしていないとそこかしこで面倒だということがわかった

  • Loading branch information...
1 parent 70c6554 commit 0c0762fd9af055ad5b631a42a4bd4492acfd6741 @nekokak committed Dec 17, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Kamui/View/MT.pm
View
2 lib/Kamui/View/MT.pm
@@ -39,7 +39,7 @@ sub render {
},
%{ $context->conf->{view}->{mt}->{options} || {} },
);
- my $output = $mt->render($template);
+ my $output = $mt->render($template)->as_string;
my $res = $context->res;
$res->status('200');

0 comments on commit 0c0762f

Please sign in to comment.