Unicode plugin: import tests and update current ones
[catagits/Catalyst-Runtime.git] / t / lib / TestApp2 / Controller / Root.pm
1 package TestApp2::Controller::Root;
2 use strict;
3 use warnings;
4 use utf8;
5
6 __PACKAGE__->config(namespace => q{});
7
8 use base 'Catalyst::Controller';
9
10 # your actions replace this one
11 sub main :Path('') { 
12     $_[1]->res->body('<h1>It works</h1>');
13     $_[1]->res->content_type('text/html');
14 }
15
16 1;