Merge branch 'refactoring' of git://github.com/mattvanhorn/discourse

Conflicts:
	lib/text_sentinel.rb
This commit is contained in:
Robin Ward
2013-05-27 10:42:20 -04:00
11 changed files with 146 additions and 74 deletions

View File

@ -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