diff options
Diffstat (limited to 'module/web/pyload/urls.py')
-rw-r--r-- | module/web/pyload/urls.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/module/web/pyload/urls.py b/module/web/pyload/urls.py index c4c2f6ef2..6523d711a 100644 --- a/module/web/pyload/urls.py +++ b/module/web/pyload/urls.py @@ -17,9 +17,13 @@ urlpatterns = patterns('pyload', (r'^logs/(?P<item>\d+)$', 'views.logs',{}, 'logs'), (r'^package_ui.js$', 'views.package_ui', {}, 'package_ui'), (r'^$', 'views.home',{}, 'home'), + url(r'^pathchooser/(?P<path>.*)', 'views.path', name='path'), + url(r'^pathchooser/$', 'views.root', name='root'), ) urlpatterns += patterns('django.contrib.auth', (r'^login/$', 'views.login', {'template_name': join(settings.TEMPLATE, 'login.html')}), (r'^logout/$', 'views.logout', {'template_name': join(settings.TEMPLATE, 'logout.html')}, 'logout'), -)
\ No newline at end of file +) + + |