Skip to content

Commit

Permalink
Merge pull request discourse#553 from buddhamagnet/issue-352-missing-…
Browse files Browse the repository at this point in the history
…template

Add render nothing to refresh_browsers method
  • Loading branch information
eviltrout committed Mar 24, 2013
2 parents 1a52150 + baef69d commit 5b9ff91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/admin/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def unban
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
Expand Down

0 comments on commit 5b9ff91

Please sign in to comment.