summaryrefslogtreecommitdiff
path: root/chimere/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/urls.py')
-rw-r--r--chimere/urls.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/chimere/urls.py b/chimere/urls.py
index f4f50d5..8a252f6 100644
--- a/chimere/urls.py
+++ b/chimere/urls.py
@@ -38,9 +38,11 @@ urlpatterns += patterns('chimere.views',
url(r'^(?P<area_name>\w+)?/?contact/?$', 'contactus', name="contact"),
url(r'^(?P<area_name>\w+)?/?submited/(?P<action>\w+)/?$', 'submited',
name="submit"),
- url(r'^(?P<area_name>\w+)?/?edit/?$', 'edit',
+ url(r'^(?P<area_name>\w+)?/?edit/$', 'edit',
name="edit"),
- url(r'^(?P<area_name>\w+)?/?edit_route/?$', 'editRoute',
+ url(r'^(?P<area_name>\w+)?/?edit/(?P<marker_id>\w+)/$', 'edit',
+ name="edit-marker"),
+ url(r'^(?P<area_name>\w+)?/?edit_route/$', 'editRoute',
name="edit_route"),
url(r'^(?P<area_name>\w+)?/?getDetail/(?P<marker_id>\d+)/?$', 'getDetail',
name="get_detail"),
@@ -57,7 +59,6 @@ urlpatterns += patterns('chimere.views',
'uploadFile', name='upload_file'),
url(r'^(?P<area_name>\w+)?/?process_route_file/(?P<file_id>\d+)/$',
'processRouteFile', name='process_route_file'),
-
)
# At the end, because it catches large