Update key name

This commit is contained in:
redfast00 2020-09-16 21:50:58 +02:00
parent 9aa0014e54
commit 6e9babd521
No known key found for this signature in database
GPG key ID: 5946E0E34FD0553C

View file

@ -70,10 +70,10 @@ module VerenigingenHelper
end end
def image_url(item) def image_url(item)
if item[:image].nil? if item[:logo].nil?
"https://dsa.ugent.be/api/verenigingen/#{ abbreviation item }/logo?size=medium" "https://dsa.ugent.be/api/verenigingen/#{ abbreviation item }/logo?size=medium"
else else
item[:image] item[:logo]
end end
end end