aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/user_pages/routing.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2013-02-24 11:30:17 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2013-02-24 12:36:07 +0100
commit954b407cf8386f3c40ce1f51c2c7f321075b0fe6 (patch)
tree5f0d378d930d7b2cd57d03eb1d7c621a8a096152 /mediagoblin/user_pages/routing.py
parentac7c91809607a6dfa3b3109a12f45295235e8d20 (diff)
downloadmediagoblin-954b407cf8386f3c40ce1f51c2c7f321075b0fe6.tar.lz
mediagoblin-954b407cf8386f3c40ce1f51c2c7f321075b0fe6.tar.xz
mediagoblin-954b407cf8386f3c40ce1f51c2c7f321075b0fe6.zip
Use the media id for attachmemt editing.
And remove some stray white space from the output.
Diffstat (limited to 'mediagoblin/user_pages/routing.py')
-rw-r--r--mediagoblin/user_pages/routing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/user_pages/routing.py b/mediagoblin/user_pages/routing.py
index 6ea3c3e2..7de3ab60 100644
--- a/mediagoblin/user_pages/routing.py
+++ b/mediagoblin/user_pages/routing.py
@@ -87,5 +87,5 @@ add_route('mediagoblin.edit.edit_media',
'mediagoblin.edit.views:edit_media')
add_route('mediagoblin.edit.attachments',
- '/u/<string:user>/m/<string:media>/attachments/',
+ '/u/<string:user>/m/<int:media_id>/attachments/',
'mediagoblin.edit.views:edit_attachments')