[Catalyst-commits] r6859 -
trunk/Catalyst-Plugin-Static-Simple/lib/Catalyst/Plugin/Static
castaway at dev.catalyst.perl.org
castaway at dev.catalyst.perl.org
Thu Sep 6 20:50:26 GMT 2007
Author: castaway
Date: 2007-09-06 20:50:26 +0100 (Thu, 06 Sep 2007)
New Revision: 6859
Modified:
trunk/Catalyst-Plugin-Static-Simple/lib/Catalyst/Plugin/Static/Simple.pm
Log:
Doc patch from initself, clarify static files dir
Modified: trunk/Catalyst-Plugin-Static-Simple/lib/Catalyst/Plugin/Static/Simple.pm
===================================================================
--- trunk/Catalyst-Plugin-Static-Simple/lib/Catalyst/Plugin/Static/Simple.pm 2007-09-06 18:36:42 UTC (rev 6858)
+++ trunk/Catalyst-Plugin-Static-Simple/lib/Catalyst/Plugin/Static/Simple.pm 2007-09-06 19:50:26 UTC (rev 6859)
@@ -267,9 +267,12 @@
use Catalyst;
MyApp->setup( qw/Static::Simple/ );
- # that's it; static content is automatically served by
- # Catalyst, though you can configure things or bypass
- # Catalyst entirely in a production environment
+ # 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
+ #
+ # one caveat: the files must be served from an absolute path
+ # (ie. /images/foo.png)
=head1 DESCRIPTION
More information about the Catalyst-commits
mailing list