mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-25 18:01:14 +00: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:
parent
17aa2f68c2
commit
3396d5a1c4
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user