Merge pull request #553 from buddhamagnet/issue-352-missing-template

Add render nothing to refresh_browsers method
This commit is contained in:
Robin Ward 2013-03-24 08:27:18 -07:00
commit 5b9ff91e88

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