Mailing List Archive

Chained methods and action?
Hello everyone,

I just started playing with Action and met some problems,,,

so far I have a setup like this


This action was created by something like this:

sub site_map :Chained('/') :PathPart('map') {...}

sub bob_page :Chained('/') :PathPart('bob') {...}

I can use get action by name of methods (private or public)

my $action = $c->controller->action_for('site_map');

ormy $action = $c->controller->action_for('bob_page');

!! Are there any way to get action by name create chained method such as:

my $action = $c->controller->action_for('map');


my $action = $c->controller->action_for('bob');

Denis Spichkin.