lib/flipper/ui/actions/boolean_gate.rb in flipper-ui-0.25.3 vs lib/flipper/ui/actions/boolean_gate.rb in flipper-ui-0.25.4

- old
+ new

@@ -8,9 +8,11 @@ include FeatureNameFromRoute route %r{\A/features/(?<feature_name>.*)/boolean/?\Z} def post + read_only if Flipper::UI.configuration.read_only + feature = flipper[feature_name] @feature = Decorators::Feature.new(feature) if params['action'] == 'Enable' feature.enable