Unicode plugin: import tests and update current ones
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Root.pm
index e5137e0..b626bdb 100644 (file)
@@ -2,6 +2,7 @@ package TestApp::Controller::Root;
 use strict;
 use warnings;
 use base 'Catalyst::Controller';
+use utf8;
 
 __PACKAGE__->config->{namespace} = '';
 
@@ -24,13 +25,6 @@ sub emptybody : Local {
     $c->res->body('');
 }
 
-sub localregex : LocalRegex('^localregex$') {
-    my ( $self, $c ) = @_;
-    $c->res->header( 'X-Test-Class' => ref($self) );
-    $c->response->content_type('text/plain; charset=utf-8');
-    $c->forward('TestApp::View::Dump::Request');
-}
-
 sub index : Private {
     my ( $self, $c ) = @_;
     $c->res->body('root index');