mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 14:09:53 +01:00
Fix bug preventing deletion of freshly created mute rules
This commit is contained in:
parent
812c9617ff
commit
8ad0cf24b8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue