lib/flipper/ui/actions/actors_gate.rb in flipper-ui-0.11.0.beta4 vs lib/flipper/ui/actions/actors_gate.rb in flipper-ui-0.11.0.beta5
- old
+ new
@@ -29,10 +29,10 @@
if Util.blank?(value)
error = Rack::Utils.escape("#{value.inspect} is not a valid actor value.")
redirect_to("/features/#{feature.key}/actors?error=#{error}")
end
- actor = Flipper::UI::Actor.new(value)
+ actor = Flipper::Actor.new(value)
case params['operation']
when 'enable'
feature.enable_actor actor
when 'disable'