more $self->blessed stompage
matthewt [Tue, 8 Jul 2008 19:57:44 +0000 (19:57 +0000)]
lib/Reaction/UI/Controller.pm
lib/Reaction/UI/Skin.pm

index a6ff6ef..0ccba8f 100644 (file)
@@ -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;
index 436f34c..7ecece8 100644 (file)
@@ -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';