Should be ->args, not ->arg.

        Patch by exor674. 

diffs (12 lines):

diff -r a00820bf2a26 -r e76254fdb530 cgi-bin/DW/Routing.pm
--- a/cgi-bin/DW/Routing.pm     Sat Oct 30 12:20:25 2010 +0800
+++ b/cgi-bin/DW/Routing.pm     Sat Oct 30 12:46:49 2010 +0800
@@ -208,7 +208,7 @@ sub _call_hash {
 # controller sub for register_static
 sub _static_helper {
     my $r = DW::Request->get;
-    return DW::Template->render_template( $_[0]->arg );
+    return DW::Template->render_template( $_[0]->args );
 }
 
 # INTERNAL METHOD: no POD
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to