Author: gjm
Date: Fri May 10 13:26:01 2013
New Revision: 1481007

URL: http://svn.apache.org/r1481007
Log:
get_htdoc_dirs requires a prefix to be specified in the returned list - fixes 
#519

Modified:
    bloodhound/trunk/bloodhound_relations/bhrelations/web_ui.py

Modified: bloodhound/trunk/bloodhound_relations/bhrelations/web_ui.py
URL: 
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_relations/bhrelations/web_ui.py?rev=1481007&r1=1481006&r2=1481007&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_relations/bhrelations/web_ui.py (original)
+++ bloodhound/trunk/bloodhound_relations/bhrelations/web_ui.py Fri May 10 
13:26:01 2013
@@ -64,7 +64,7 @@ class RelationManagementModule(Component
     # ITemplateProvider methods
     def get_htdocs_dirs(self):
         resource_filename = pkg_resources.resource_filename
-        return [resource_filename('bhrelations', 'htdocs'), ]
+        return [('relations', resource_filename('bhrelations', 'htdocs')), ]
 
     def get_templates_dirs(self):
         resource_filename = pkg_resources.resource_filename


Reply via email to