X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestApp%2FAction%2FTestMyAction.pm;h=1240b0e5f5ee11cd62b00e9a524954e4790652dd;hp=77e2caaa9475e7f9164c6e13105d96d3f5d5aec9;hb=8f6cebb2303a0b0eda9422430f926c3f83c72aed;hpb=8ddad083473c069f134706a90ded61edc04b1917 diff --git a/t/lib/TestApp/Action/TestMyAction.pm b/t/lib/TestApp/Action/TestMyAction.pm index 77e2caa..1240b0e 100644 --- a/t/lib/TestApp/Action/TestMyAction.pm +++ b/t/lib/TestApp/Action/TestMyAction.pm @@ -9,7 +9,7 @@ sub execute { my $self = shift; my ( $controller, $c, $test ) = @_; $c->res->header( 'X-TestAppActionTestMyAction', 'MyAction works' ); - $c->res->header( 'X-Component-Name-Action', $controller->_component_name); + $c->res->header( 'X-Component-Name-Action', $controller->catalyst_component_name); $c->res->header( 'X-Component-Instance-Name-Action', ref($controller)); $c->res->header( 'X-Class-In-Action', $self->class); $self->next::method(@_);