Update key name
This commit is contained in:
parent
9aa0014e54
commit
6e9babd521
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue