Switched to Module::Install
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action.pm
index a254321..02bd50a 100644 (file)
@@ -1,14 +1,12 @@
 package TestApp::Controller::Action;
 
 use strict;
-use base 'Catalyst::Base';
+use base 'Catalyst::Controller';
 
 sub begin : Private {
     my ( $self, $c ) = @_;
-    $c->res->header( 'X-Test-Class'  => ref($self) );
+    $c->res->header( 'X-Test-Class' => ref($self) );
     $c->response->content_type('text/plain; charset=utf-8');
-    
-    return 1;
 }
 
 sub default : Private {