diff options
Diffstat (limited to 'lib/Bookmarks/V/TT.pm')
-rw-r--r-- | lib/Bookmarks/V/TT.pm | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Bookmarks/V/TT.pm b/lib/Bookmarks/V/TT.pm index f2f8e7d..d2063b6 100644 --- a/lib/Bookmarks/V/TT.pm +++ b/lib/Bookmarks/V/TT.pm @@ -3,18 +3,6 @@ package Bookmarks::V::TT; use strict; use base 'Catalyst::View::TT'; -sub process { - my ( $self, $c ) = @_; - my $ret=$self->NEXT::process($c); - if ($ret==1 - and $c->res->content_type =~ m{text/html}) { - my $ct=$c->res->content_type; - $ct=~s{text/html}{application/xhtml+xml}; - $c->res->content_type($ct); - } - return $ret; -} - =head1 NAME Bookmarks::V::TT - TT View Component |