Removed unused code from initial_state and ReactController

• Removed:
- unused code from initial_state and ReactController
This commit is contained in:
mgabdev
2020-11-09 12:14:42 -06:00
parent 83006eed39
commit b0e3d611f5
10 changed files with 12 additions and 25 deletions

View File

@@ -51,8 +51,5 @@ 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