diff options
author | wreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-07-30 21:39:15 +0000 |
---|---|---|
committer | wreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-07-30 21:39:15 +0000 |
commit | f59e3c5e53dbbb3b6aa0fcedbd56f2f3f768e8c9 (patch) | |
tree | c150e1eeeffe6fef5abc1342827823ce0619226c | |
parent | 565a1fc7fe67c721f2766bdc3f55c5fcb33fc760 (diff) | |
download | reaction-f59e3c5e53dbbb3b6aa0fcedbd56f2f3f768e8c9.tar.gz reaction-f59e3c5e53dbbb3b6aa0fcedbd56f2f3f768e8c9.zip |
fixed default value
-rw-r--r-- | lib/Reaction/UI/ViewPort/Role/Actions.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Reaction/UI/ViewPort/Role/Actions.pm b/lib/Reaction/UI/ViewPort/Role/Actions.pm index e78ba4d..368330b 100644 --- a/lib/Reaction/UI/ViewPort/Role/Actions.pm +++ b/lib/Reaction/UI/ViewPort/Role/Actions.pm @@ -20,7 +20,8 @@ has action_filter => ( isa => 'CodeRef', is => 'ro', required => '1', lazy => '1', default => sub { - sub { return [keys %{ shift->action_prototypes }] } + my $self = shift; + sub { return [keys %{ $self->action_prototypes }] } } ); |