[Catalyst-commits] r10008 - in Catalyst-Plugin-Static-Simple/trunk:
. lib/Catalyst/Plugin/Static
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Tue May 5 10:22:06 GMT 2009
Author: t0m
Date: 2009-05-05 10:22:06 +0000 (Tue, 05 May 2009)
New Revision: 10008
Modified:
Catalyst-Plugin-Static-Simple/trunk/Changes
Catalyst-Plugin-Static-Simple/trunk/lib/Catalyst/Plugin/Static/Simple.pm
Log:
Fix docs in Static::Simple.
Modified: Catalyst-Plugin-Static-Simple/trunk/Changes
===================================================================
--- Catalyst-Plugin-Static-Simple/trunk/Changes 2009-05-05 08:29:19 UTC (rev 10007)
+++ Catalyst-Plugin-Static-Simple/trunk/Changes 2009-05-05 10:22:06 UTC (rev 10008)
@@ -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)
Modified: Catalyst-Plugin-Static-Simple/trunk/lib/Catalyst/Plugin/Static/Simple.pm
===================================================================
--- Catalyst-Plugin-Static-Simple/trunk/lib/Catalyst/Plugin/Static/Simple.pm 2009-05-05 08:29:19 UTC (rev 10007)
+++ Catalyst-Plugin-Static-Simple/trunk/lib/Catalyst/Plugin/Static/Simple.pm 2009-05-05 10:22:06 UTC (rev 10008)
@@ -274,8 +274,9 @@
=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
More information about the Catalyst-commits
mailing list