0
0
Fork 0

Replace SVG asset with Custom mascot (#8766)

This commit is contained in:
ashleyhull-versent 2018-10-08 09:20:45 +11:00 committed by Eugen Rochko
parent 774ac47373
commit 2dba313100
7 changed files with 15 additions and 3 deletions

View file

@ -44,4 +44,8 @@ class InstancePresenter
def hero
@hero ||= Rails.cache.fetch('site_uploads/hero') { SiteUpload.find_by(var: 'hero') }
end
def mascot
@mascot ||= Rails.cache.fetch('site_uploads/mascot') { SiteUpload.find_by(var: 'mascot') }
end
end