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 06:27 am

[dw-free] Theme categories (tags?) are hardcoded in the code backend

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

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

Make /admin/themes work (in addition to /admin/themes/)

Patch by [personal profile] exor674.

Files modified:
  • cgi-bin/DW/Controller/Admin/ThemeMetadata.pm
--------------------------------------------------------------------------------
diff -r e76254fdb530 -r 7c5fe5ec4f03 cgi-bin/DW/Controller/Admin/ThemeMetadata.pm
--- a/cgi-bin/DW/Controller/Admin/ThemeMetadata.pm	Sat Oct 30 12:46:49 2010 +0800
+++ b/cgi-bin/DW/Controller/Admin/ThemeMetadata.pm	Sat Oct 30 14:27:20 2010 +0800
@@ -23,7 +23,7 @@ use DW::Template;
 use DW::Template;
 use DW::Controller::Admin;
 
-DW::Routing->register_string( "/admin/themes/", \&index_controller );
+DW::Routing->register_string( "/admin/themes/index", \&index_controller );
 DW::Controller::Admin->register_admin_page( '/',
     path => 'themes/',
     ml_scope => '/admin/themes/index.tt',
--------------------------------------------------------------------------------