fix edit links
This commit is contained in:
parent
64e8c1f4b2
commit
efe3ffbed0
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class Item(models.Model):
|
||||||
elif type == 'edit':
|
elif type == 'edit':
|
||||||
content = Edit.get(contentid)
|
content = Edit.get(contentid)
|
||||||
data = content.json(keys=content_keys)
|
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':
|
elif type == 'collection':
|
||||||
content = Collection.get(contentid)
|
content = Collection.get(contentid)
|
||||||
data = content.json(keys=content_keys)
|
data = content.json(keys=content_keys)
|
||||||
|
|
Loading…
Reference in a new issue