X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=77bd1c5ae3e853288b565142f8ca4979aa78eed7;hb=f444811bb1a174c842e80bf5b9a4c24dc1a85ee0;hp=8cd14fe58b433d7a3eddfe7ebf2d3c3cca9849d7;hpb=3239be86565f8f510d268968c2c5e6745fa8057f;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 8cd14fe..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.90012'; +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} ) {