mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Adds condition for dev environment only
We don't want to enable this in production just yet
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
class EnableAdminStyleV3ByDefault < ActiveRecord::Migration[7.0]
|
||||
def up
|
||||
Flipper.enable(:admin_style_v3)
|
||||
if Rails.env.development?
|
||||
Flipper.enable(:admin_style_v3)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user