Use Flipflop instead of Feature
This commit is contained in:
parent
7dd0611a28
commit
45019ce75c
22 changed files with 46 additions and 44 deletions
|
@ -18,7 +18,7 @@ class Commentaire < ApplicationRecord
|
|||
end
|
||||
|
||||
def file_url
|
||||
if Features.remote_storage
|
||||
if Flipflop.remote_storage?
|
||||
RemoteDownloader.new(file.path).url
|
||||
else
|
||||
file.url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue