summaryrefslogtreecommitdiff
path: root/chimere/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/urls.py')
-rw-r--r--chimere/urls.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/chimere/urls.py b/chimere/urls.py
index 4d62bac..41a3729 100644
--- a/chimere/urls.py
+++ b/chimere/urls.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-# Copyright (C) 2008-2010 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet>
+# Copyright (C) 2008-2011 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as
@@ -67,7 +67,8 @@ urlpatterns += patterns('chimere.main.views',
(BASE + EXTRA + r'contact/$', 'contactus', default_dct),
(BASE + EXTRA + r'edit/$', 'edit', default_dct),
(BASE + EXTRA + r'edit_route/$', 'editRoute', default_dct),
-(BASE + EXTRA + r'upload_file/$', 'uploadFile', default_dct),
+(BASE + EXTRA + r'upload_file/((?P<category_id>\w+)/)?$', 'uploadFile',
+ default_dct),
(BASE + EXTRA + r'process_route_file/(?P<file_id>\d+)/$', 'processRouteFile', default_dct),
(BASE + EXTRA + r'submited/(?P<action>\w+)/$', 'submited', default_dct),
(BASE + EXTRA + r'getDetail/(?P<marker_id>\d+)/$', 'getDetail', default_dct),