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

        Patch by exor674. 

diffs (12 lines):

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',
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to