Commit f98a357f authored by jplang's avatar jplang

Use head instead of render :nothing => true.

git-svn-id: https://svn.redmine.org/redmine/trunk@15671 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent a2333d71
......@@ -59,7 +59,7 @@ class WatchersController < ApplicationController
@users = User.active.visible.where(:id => user_ids).to_a
end
if @users.blank?
render :nothing => true
head 200
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment