diff options
author | matthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-07-08 19:57:44 +0000 |
---|---|---|
committer | matthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-07-08 19:57:44 +0000 |
commit | 294263ca086f397e98ddf96bb02c51e1a405f325 (patch) | |
tree | 006d3feffe220a6f0501fdcdccf4100678de2080 /lib | |
parent | 8909345a99d2a873345a3e873b07f3bff8e42c7e (diff) | |
download | reaction-294263ca086f397e98ddf96bb02c51e1a405f325.tar.gz reaction-294263ca086f397e98ddf96bb02c51e1a405f325.zip |
more $self->blessed stompage
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Reaction/UI/Controller.pm | 2 | ||||
-rw-r--r-- | lib/Reaction/UI/Skin.pm | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/Reaction/UI/Controller.pm b/lib/Reaction/UI/Controller.pm index a6ff6ef..0ccba8f 100644 --- a/lib/Reaction/UI/Controller.pm +++ b/lib/Reaction/UI/Controller.pm @@ -55,7 +55,7 @@ sub redirect_to { my $action; if(!ref $to){ $action = $self->action_for($to); - confess("Failed to locate action ${to} in " . $self->blessed) unless $action; + confess("Failed to locate action ${to} in " . blessed($self)) unless $action; } elsif( blessed $to && $to->isa('Catalyst::Action') ){ $action = $to; diff --git a/lib/Reaction/UI/Skin.pm b/lib/Reaction/UI/Skin.pm index 436f34c..7ecece8 100644 --- a/lib/Reaction/UI/Skin.pm +++ b/lib/Reaction/UI/Skin.pm @@ -7,7 +7,6 @@ use Reaction::UI::LayoutSet; use Reaction::UI::RenderingContext; use File::ShareDir; use File::Basename; -use Scalar::Util qw(blessed); use aliased 'Path::Class::Dir'; |