lib/flipper/ui/actions/actors_gate.rb in flipper-ui-0.21.0 vs lib/flipper/ui/actions/actors_gate.rb in flipper-ui-0.22.0
- old
+ new
@@ -25,10 +25,10 @@
def post
feature = flipper[feature_name]
value = params['value'].to_s.strip
if Util.blank?(value)
- error = Rack::Utils.escape("#{value.inspect} is not a valid actor value.")
+ error = "#{value.inspect} is not a valid actor value."
redirect_to("/features/#{feature.key}/actors?error=#{error}")
end
actor = Flipper::Actor.new(value)