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
|
||||
|
||||
def image_url(item)
|
||||
if item[:image].nil?
|
||||
if item[:logo].nil?
|
||||
"https://dsa.ugent.be/api/verenigingen/#{ abbreviation item }/logo?size=medium"
|
||||
else
|
||||
item[:image]
|
||||
item[:logo]
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue