Commit cb869fa4 authored by Taddeus Kroes's avatar Taddeus Kroes

Added default url binding to JS/CSS controllers.

parent c0554536
......@@ -2,5 +2,14 @@ from importer import Importer
class JsCache(Importer):
__url__ = '/js/(.*)'
def __init__(self, root):
Importer.__init__(self, root=root, extension='js')
class CssCache(Importer):
__url__ = '/css/(.*)'
def __init__(self, root):
Importer.__init__(self, root=root, extension='css')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment