Fixed some bugs and improved logs
[catagits/Catalyst-Runtime.git] / t / live / lib / TestApp / Controller / Action.pm
index 3352415..02bd50a 100644 (file)
@@ -1,7 +1,7 @@
 package TestApp::Controller::Action;
 
 use strict;
-use base 'Catalyst::Base';
+use base 'Catalyst::Controller';
 
 sub begin : Private {
     my ( $self, $c ) = @_;
@@ -9,11 +9,6 @@ sub begin : Private {
     $c->response->content_type('text/plain; charset=utf-8');
 }
 
-sub index : Private {
-    my ( $self, $c ) = @_;
-    $c->res->body( 'Action index' );
-}
-
 sub default : Private {
     my ( $self, $c ) = @_;
     $c->res->output("Error - TestApp::Controller::Action\n");