Partial revert a703b5cb7
This commit is contained in:
parent
2790408a5e
commit
8c14983e19
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
class InstancePresenter
|
class InstancePresenter
|
||||||
delegate(
|
delegate(
|
||||||
|
:site_contact_email,
|
||||||
:site_title,
|
:site_title,
|
||||||
:site_short_description,
|
:site_short_description,
|
||||||
:site_description,
|
:site_description,
|
||||||
@ -15,5 +16,9 @@ class InstancePresenter
|
|||||||
def source_url
|
def source_url
|
||||||
GabSocial::Version.source_url
|
GabSocial::Version.source_url
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def thumbnail
|
||||||
|
@thumbnail ||= Rails.cache.fetch('site_uploads/thumbnail') { SiteUpload.find_by(var: 'thumbnail') }
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user