Fix docs in Static::Simple.
Tomas Doran [Tue, 5 May 2009 10:22:06 +0000 (10:22 +0000)]
Changes
lib/Catalyst/Plugin/Static/Simple.pm

diff --git a/Changes b/Changes
index 2c38a3c..bcf222d 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
 Revision history for Perl extension Catalyst::Plugin::Static::Simple
 
         - Fix config key (mst)
+        - Fix docs to not include plugins in call to ->setup() (t0m)
 
 0.21    2009-03-29 20:31:49
                - Documentation improvements (jester)
index 827b252..caf3a0e 100644 (file)
@@ -274,8 +274,9 @@ Catalyst::Plugin::Static::Simple - Make serving static pages painless.
 
 =head1 SYNOPSIS
 
-    use Catalyst;
-    MyApp->setup( qw/Static::Simple/ );
+    package MyApp;
+    use Catalyst qw/ Static::Simple /;
+    MyApp->setup;
     # that's it; static content is automatically served by Catalyst
     # from the application's root directory, though you can configure
     # things or bypass Catalyst entirely in a production environment