diff --git a/app/presenters/instance_presenter.rb b/app/presenters/instance_presenter.rb index c42dbcdd..f4ba5cfc 100644 --- a/app/presenters/instance_presenter.rb +++ b/app/presenters/instance_presenter.rb @@ -2,6 +2,7 @@ class InstancePresenter delegate( + :site_contact_email, :site_title, :site_short_description, :site_description, @@ -15,5 +16,9 @@ class InstancePresenter def source_url GabSocial::Version.source_url end - + + def thumbnail + @thumbnail ||= Rails.cache.fetch('site_uploads/thumbnail') { SiteUpload.find_by(var: 'thumbnail') } + end + end