init_arg => undef,
);
+has action_args => (is => 'ro');
+
# ->config(actions => { '*' => ...
has _all_actions_attributes => (
is => 'ro',
my %args = @_;
my $class = $self->action_class(%args);
- my $action_args = $self->config->{action_args};
+ my $action_args = (
+ ref($self)
+ ? $self->action_args
+ : $self->config->{action_args}
+ );
my %extra_args = (
%{ $action_args->{'*'} || {} },