lib/flipper/ui/actions/actors_gate.rb in flipper-ui-1.0.0 vs lib/flipper/ui/actions/actors_gate.rb in flipper-ui-1.1.0
- old
+ new
@@ -21,10 +21,10 @@
view_response :add_actor
end
def post
- read_only if Flipper::UI.configuration.read_only
+ render_read_only if read_only?
feature = flipper[feature_name]
value = params['value'].to_s.strip
values = value.split(UI.configuration.actors_separator).map(&:strip).uniq