Stop using Rails.env.xxx? methods when not relevant

This commit is contained in:
gregoirenovel 2018-09-04 14:44:08 +02:00
parent b2dc502ed5
commit a7095b28b4

View file

@ -26,7 +26,7 @@ Flipflop.configure do
feature :remote_storage,
default: ENV['FOG_ENABLED'] == 'enabled'
feature :weekly_overview,
default: Rails.env.production?
default: ENV['APP_NAME'] == 'tps'
end
feature :pre_maintenance_mode