my $map = $self->next::method(@_);
$map->{list} = ListView if exists $map->{list};
- my %allowed = map { $_ => undef }
- ( @{$self->default_member_actions}, @{$self->default_collection_actions} );
-
- my @local_actions = qw/create update delete delete_all/;
- $map->{$_} = Action for grep { exists $allowed{$_} } @local_actions;
+ #my %allowed = map { $_ => undef }
+ # ( @{$self->default_member_actions}, @{$self->default_collection_actions} );
+ #my @local_actions = qw/create update delete delete_all/;
+ #$map->{$_} = Action for grep { exists $allowed{$_} } @local_actions;
+ $map->{$_} = Action for @local_actions;
return $map;
}
=head2 _build_action_viewport_map
-Map C<create>, C<update>, C<delete> and C<delete_all> to use the
-C<Action|Reaction::UI::ViewPort::Action> viewport by default.
+Map C<create>, C<update>, C<delete> and C<delete_all> to use the
+L<Action|Reaction::UI::ViewPort::Action> viewport by default and have C<list>
+use L<ListView|Reaction::UI::ViewPort::ListView> by default.
+
+=head2 _build_default_member_actions
-=head2 _build_action_viewport_args
+Add C<update> and C<delete> to the list of default actions.
-Add action_prototypes to the C<list> action so that action links render correctly in L<ListView|Rection::UI::ViewPort::Listview>.
+=head2 _build_default_collection_actions
+
+Add C<create> and C<delete_all> to the list of default actions.
=head1 ACTIONS
=head2 delete
-Chained to C<object>, deletee a single object.
-
+Chained to C<object>, delete a single object.
See L<Delete|Reaction::InterfaceModel::Action::DBIC::Result::Delete>
for more info.