mirror of https://github.com/CIRCL/AIL-framework
fix: [UI correlation graph] fix item links
parent
afc7cfc77d
commit
1d8aa44d8b
|
@ -226,7 +226,7 @@ def get_item_url(correlation_name, value, correlation_type=None):
|
||||||
endpoint = 'objects_item.showItem'
|
endpoint = 'objects_item.showItem'
|
||||||
url = url_for(endpoint, id=value)
|
url = url_for(endpoint, id=value)
|
||||||
elif correlation_name == 'paste': ### # TODO: remove me
|
elif correlation_name == 'paste': ### # TODO: remove me
|
||||||
endpoint = 'showsavedpastes.showsavedpaste'
|
endpoint = 'objects_item.showItem'
|
||||||
url = url_for(endpoint, paste=value)
|
url = url_for(endpoint, paste=value)
|
||||||
return url
|
return url
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue