##// END OF EJS Templates
Use head instead of render :nothing => true....
Jean-Philippe Lang -
r15289:3396d5a1c402
parent child
Show More
@@ -59,7 +59,7 class WatchersController < ApplicationController
59 @users = User.active.visible.where(:id => user_ids).to_a
59 @users = User.active.visible.where(:id => user_ids).to_a
60 end
60 end
61 if @users.blank?
61 if @users.blank?
62 render :nothing => true
62 head 200
63 end
63 end
64 end
64 end
65
65
General Comments 0
You need to be logged in to leave comments. Login now