aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/Controller.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Reaction/UI/Controller.pm')
-rw-r--r--lib/Reaction/UI/Controller.pm2
1 files changed, 1 insertions, 1 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;