From: Tomas Doran Date: Wed, 1 Jun 2011 20:16:24 +0000 (+0100) Subject: Fix part I mangled whilst rebasing onto master X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=2b519e00dd97e258a45c5b625312534d934a8c06 Fix part I mangled whilst rebasing onto master --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 3928ce9..f2a9228 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -758,7 +758,7 @@ sub view { my $container = $c->container->get_sub_container('view'); if ($container->has_service($check)) { - return $c->_filter_component( $container->get_service($check)->get, @args ); + return $c->_filter_component( $container->resolve(service => $check), @args ); } else { $c->log->warn( "Attempted to use view '$check', but does not exist" );