X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FPSGI.pod;h=a05e0023bbe4518005b457c2c6917853feeeeb2f;hp=bdd2ae9a324ff6b28641477beff2881dd8fac5d6;hb=199731fb710c6a165793f055f85de60539039dfe;hpb=cdde866b6ade1df418890d4eb99ffabd36ab0bbf diff --git a/lib/Catalyst/PSGI.pod b/lib/Catalyst/PSGI.pod index bdd2ae9..a05e002 100644 --- a/lib/Catalyst/PSGI.pod +++ b/lib/Catalyst/PSGI.pod @@ -74,8 +74,6 @@ in: =item L -=item nginx - local to Catalyst - =back If you override the default by providing your own C<< .psgi >> file, @@ -88,6 +86,15 @@ An apply_default_middlewares method is supplied to wrap your application in the default middlewares if you want this behaviour and you are providing your own .psgi file. +This means that the auto-generated (no .psgi file) code looks something +like this: + + use strict; + use warnings; + use TestApp; + + my $app = TestApp->apply_default_middlewares(TestApp->psgi_app(@_)); + =head1 SEE ALSO L, L, L, L.