mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-15 12:17:47 +00:00
Fix problem where root collection crashed after previous change
This commit is contained in:
parent
8913254191
commit
163f96177a
@ -261,7 +261,7 @@ def _assemble_html(responses, resource, querydict, url):
|
||||
yield '<input type="hidden" name="restexplorerhonorkey" value="">'
|
||||
yield '<a rel="self" href="%s">%s</a><br>' % (resource, resource)
|
||||
if url == '/':
|
||||
pass
|
||||
iscollection = True
|
||||
elif resource[-1] == '/':
|
||||
iscollection = True
|
||||
yield '<a rel="collection" href="../">../</a><br>'
|
||||
|
Loading…
x
Reference in New Issue
Block a user