Replace SVG asset with Custom mascot (#8766)
This commit is contained in:
parent
774ac47373
commit
2dba313100
7 changed files with 15 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue