my ( $self, $c ) = @_;
if ( $c->action ) {
- $c->forward( join('/', '', $c->namespace, '_DISPATCH') );
+ $c->forward( join( '/', '', $c->namespace, '_DISPATCH' ) );
}
else {
for my $action ( keys %{$node} ) {
my $action_obj = $node->{$action};
+ next
+ if ( ( $action =~ /^_.*/ )
+ && ( !$c->config->{show_internal_actions} ) );
$privates->addRow( "$prefix$action", $action_obj->class );
}