changeset 4:8858f75dcf8e

Add config to deal whith the static content like css and images files
author Jonathan Gonzalez V <zeus@lunareja.(none)>
date Mon, 19 Jan 2009 14:22:42 -0300
parents e0a2e4b7ce0c
children 62c102385167
files lib/Savane.pm
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/Savane.pm
+++ b/lib/Savane.pm
@@ -31,6 +31,11 @@
 # Start the application
 __PACKAGE__->setup(qw/-Debug ConfigLoader Static::Simple/);
 
+__PACKAGE__->config->{static}->{dirs} = [
+    'static',
+    qr/^(images|css)/,
+    ];
+
 =head1 NAME
 
 Savane - Web framework for Savane interface.