1 package TestApp::Controller::Action::Auto::Detach;
4 use base 'TestApp::Controller::Action';
8 $c->res->body( "detach auto" );
9 if ($c->req->param("with_forward_detach")) {
10 $c->forward("with_forward_detach");
18 my ( $self, $c ) = @_;
19 $c->res->body( 'detach default' );
22 sub with_forward_detach : Private {
24 $c->res->body( "detach with_forward_detach" );
25 if ($c->req->param("detach_to_action")) {
26 $c->detach("detach_action");
32 sub detach_action : Private {
34 $c->res->body("detach_action");