Use the media id for attachmemt editing.

And remove some stray white space from the output.
This commit is contained in:
Elrond
2013-02-24 11:30:17 +01:00
parent ac7c918096
commit 954b407cf8
4 changed files with 23 additions and 20 deletions

View File

@@ -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')