mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
Merge branch 'refactoring' of git://github.com/mattvanhorn/discourse
Conflicts: lib/text_sentinel.rb
This commit is contained in:
@ -203,7 +203,7 @@ class TopicsController < ApplicationController
|
||||
@topic = Topic.where(id: params[:topic_id].to_i).first
|
||||
guardian.ensure_can_see!(@topic)
|
||||
|
||||
@topic.toggle_mute(current_user, v)
|
||||
@topic.toggle_mute(current_user)
|
||||
render nothing: true
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user