X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=737ccc4622f1004186afdab07307988e9401e078;hp=9c8d588bcb50c0e0f26e3be412a97de122d21e8c;hb=22a5833d436649391dc95877ca33f549308c6c3c;hpb=6db8aa1d6fcd8b008971db965bf8e3190216b77b diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 9c8d588..737ccc4 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -69,7 +69,7 @@ our $GO = Catalyst::Exception::Go->new; __PACKAGE__->mk_classdata($_) for qw/components arguments dispatcher engine log dispatcher_class engine_class context_class request_class response_class stats_class - setup_finished/; + setup_finished psgi_app/; __PACKAGE__->dispatcher_class('Catalyst::Dispatcher'); __PACKAGE__->engine_class('Catalyst::Engine'); @@ -2399,8 +2399,8 @@ sub setup_engine { ); } - # engine instance $class->engine( $engine->new ); + $class->psgi_app( $class->engine->build_psgi_app($class) ); } =head2 $c->setup_home