add render nothing to refresh_browsers method

This commit is contained in:
buddhamagnet 2013-03-23 21:37:37 +00:00
parent 81c099a37c
commit baef69d08c

View File

@ -48,6 +48,7 @@ class Admin::UsersController < Admin::AdminController
def refresh_browsers
@user = User.where(id: params[:user_id]).first
MessageBus.publish "/file-change", ["refresh"], user_ids: [@user.id]
render nothing: true
end
def revoke_admin