diff --git a/lib/helpers/verenigingen.rb b/lib/helpers/verenigingen.rb index 0e87721..2ae960c 100644 --- a/lib/helpers/verenigingen.rb +++ b/lib/helpers/verenigingen.rb @@ -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