X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FReaction%2FUI%2FController.pm;h=0ccba8fceb92a61bddff14357054fc15eb5fd01c;hb=294263ca086f397e98ddf96bb02c51e1a405f325;hp=a6ff6ef45487e3543ef41d2a68db244489328214;hpb=8909345a99d2a873345a3e873b07f3bff8e42c7e;p=catagits%2FReaction.git 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;