From baef69d08c00620f0766e0a855c63b9b8e1a069a Mon Sep 17 00:00:00 2001 From: buddhamagnet Date: Sat, 23 Mar 2013 21:37:37 +0000 Subject: [PATCH] add render nothing to refresh_browsers method --- app/controllers/admin/users_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/admin/users_controller.rb b/app/controllers/admin/users_controller.rb index 4370c22e129..1e020cd0045 100644 --- a/app/controllers/admin/users_controller.rb +++ b/app/controllers/admin/users_controller.rb @@ -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