Permalink
Browse files

Use resource_url instead of resource_http_url

  • Loading branch information...
1 parent 5e80214 commit b5cfb6376ef9d14d00420e57a8501edc8f0821a0 @liZe liZe committed Oct 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 koztumize/directives.py
@@ -47,7 +47,7 @@ def run(self):
self.arguments[0].split('/')
cls = self.state.document.settings._pynuts.documents[document_type]
document = cls(document_id, version)
- path = document.resource_http_url(os.path.join('javascript', filename))
+ path = document.resource_url(os.path.join('javascript', filename))
content = ('<script src="%s.js" type="text/javascript"></script>'
% path)
return [docutils.nodes.raw('', content, format='html')]

0 comments on commit b5cfb63

Please sign in to comment.