Skip to content

Commit

Permalink
stop force overwrite content_type
Browse files Browse the repository at this point in the history
  • Loading branch information
nobuo-danjou committed Jun 6, 2010
1 parent 66d4c03 commit 0f5b2b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/OpenID4u/View/MT.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ use Ark 'View::MT';

after 'process' => sub {
my ($self, $c) = @_;
$c->res->content_type('text/html; charset=utf-8');
unless ($c->res->content_type) {
$c->res->content_type('text/html; charset=utf-8');
}
};

1;

0 comments on commit 0f5b2b8

Please sign in to comment.