X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=77bd1c5ae3e853288b565142f8ca4979aa78eed7;hb=refs%2Ftags%2F5.90014;hp=25ba9d2f6aef675933fb67ef063ebcf7ca21e2e8;hpb=38e43e6542f104aa1fb29819a41f6d03f78667a8;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 25ba9d2..77bd1c5 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -100,7 +100,7 @@ __PACKAGE__->stats_class('Catalyst::Stats'); # Remember to update this in Catalyst::Runtime as well! -our $VERSION = '5.90011'; +our $VERSION = '5.90014'; sub import { my ( $class, @arguments ) = @_; @@ -2000,6 +2000,8 @@ sub prepare { my $uploadtmp = $class->config->{uploadtmp}; my $c = $class->context_class->new({ $uploadtmp ? (_uploadtmp => $uploadtmp) : ()}); + $c->response->_context($c); + #surely this is not the most efficient way to do things... $c->stats($class->stats_class->new)->enable($c->use_stats); if ( $c->debug || $c->config->{enable_catalyst_header} ) {