diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2013-02-24 11:30:17 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2013-02-24 12:36:07 +0100 |
commit | 954b407cf8386f3c40ce1f51c2c7f321075b0fe6 (patch) | |
tree | 5f0d378d930d7b2cd57d03eb1d7c621a8a096152 /mediagoblin/user_pages/routing.py | |
parent | ac7c91809607a6dfa3b3109a12f45295235e8d20 (diff) | |
download | mediagoblin-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.py | 2 |
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') |