X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=23ac3ad7df1a808d154e0b019ad0ed47df306c45;hp=b904aa79f50c7b5313993db415fc9a1c89f551a9;hb=460bb45ba7f4694c2cbb4f1992f14cd9a34b77f7;hpb=591feafa881b4842124e75fccdf87c76da555e9a diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index b904aa7..23ac3ad 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -127,7 +127,7 @@ __PACKAGE__->stats_class('Catalyst::Stats'); __PACKAGE__->_encode_check(Encode::FB_CROAK | Encode::LEAVE_SRC); # Remember to update this in Catalyst::Runtime as well! -our $VERSION = '5.90073'; +our $VERSION = '5.90080_001'; sub import { my ( $class, @arguments ) = @_; @@ -2993,7 +2993,9 @@ sub apply_default_middlewares { return $psgi_app; } -=head2 $c->psgi_app +=head2 App->psgi_app + +=head2 App->to_app Returns a PSGI application code reference for the catalyst application C<$c>. This is the bare application without any middlewares @@ -3004,6 +3006,8 @@ reference of your Catalyst application for use in F<.psgi> files. =cut +*to_app = \&psgi_app; + sub psgi_app { my ($app) = @_; my $psgi = $app->engine->build_psgi_app($app);