diff --git a/app/controllers/ajax/mute_rule_controller.rb b/app/controllers/ajax/mute_rule_controller.rb index 0f52695d..96ec1e94 100644 --- a/app/controllers/ajax/mute_rule_controller.rb +++ b/app/controllers/ajax/mute_rule_controller.rb @@ -12,7 +12,7 @@ class Ajax::MuteRuleController < AjaxController @response[:status] = :okay @response[:success] = true @response[:message] = t(".success") - @response[:id] = rule.id + @response[:id] = rule.id.to_s # Returning this as a string as JavaScript defines all numbers as floats end def update