fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-10-30 04:47 am

[dw-free] Convert /admin/index to TT

[commit: http://hg.dwscoalition.org/dw-free/rev/e76254fdb530]

http://bugs.dwscoalition.org/show_bug.cgi?id=3164

Should be ->args, not ->arg.

Patch by [personal profile] exor674.

Files modified:
  • cgi-bin/DW/Routing.pm
--------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org