fix edit links

This commit is contained in:
j 2017-02-20 16:13:15 +01:00
parent 64e8c1f4b2
commit efe3ffbed0
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class Item(models.Model):
elif type == 'edit':
content = Edit.get(contentid)
data = content.json(keys=content_keys)
data['link'] = '/edits' + quote(data['user'] + ':' + data['name'])
data['link'] = '/edits/' + quote(data['user'] + ':' + data['name'])
elif type == 'collection':
content = Collection.get(contentid)
data = content.json(keys=content_keys)