Stop using Flipflop as switch for Fog
This commit is contained in:
parent
6f3fde21f2
commit
25db21467d
10 changed files with 13 additions and 22 deletions
|
@ -26,7 +26,7 @@ module ProcedureHelper
|
|||
if logo.blank?
|
||||
ActionController::Base.helpers.image_url("marianne.svg")
|
||||
else
|
||||
if Flipflop.remote_storage?
|
||||
if Rails.application.secrets.fog[:enabled]
|
||||
RemoteDownloader.new(logo.filename).url
|
||||
else
|
||||
LocalDownloader.new(logo.path, 'logo').url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue