mirror of
https://github.com/redmine/redmine.git
synced 2026-07-05 21:57:52 +02:00
Use head instead of render :nothing => true.
git-svn-id: http://svn.redmine.org/redmine/trunk@15671 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user