X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=65b93bf411b1abd36075decabc8a95a53ec190d3;hp=a3608beeeafe7f62e55c6758ffd09aea8b1cfd7b;hb=9e7f288e0bd785c69c8e54c77d951b2e878f5b8f;hpb=ea66d7ea834e3d8db9dd2c6fd2b6facbac9ceb3a diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index a3608be..65b93bf 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -199,6 +199,11 @@ sub _application { $_[0] } Catalyst - The Elegant MVC Web Application Framework +=for html +CPAN version +Catalyst></a>
+<a href=Kwalitee Score + =head1 SYNOPSIS See the L distribution for comprehensive @@ -2306,9 +2311,7 @@ sub prepare { $c->response->_context($c); - if($c->use_stats) { - $c->stats($class->composed_stats_class->new)->enable; - } + $c->stats($class->stats_class->new)->enable($c->use_stats); if ( $c->debug || $c->config->{enable_catalyst_header} ) { $c->res->headers->header( 'X-Catalyst' => $Catalyst::VERSION );