diff --git a/app/assets/javascripts/main.js.coffee b/app/assets/javascripts/main.js.coffee index 59dfab8f35b..b96ef65af93 100644 --- a/app/assets/javascripts/main.js.coffee +++ b/app/assets/javascripts/main.js.coffee @@ -53,7 +53,6 @@ window.stopSpinner = -> window.unbindEvents = -> $(document).unbind('scroll') $(document).off('scroll') - $(document).off('click') document.addEventListener("page:fetch", startSpinner) document.addEventListener("page:fetch", unbindEvents) diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index f44bc10cf39..416bfa77af0 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -1,6 +1,6 @@ class GroupsController < ApplicationController respond_to :html - before_filter :group, except: [:new, :create, :people] + before_filter :group, except: [:new, :create] # Authorize before_filter :authorize_read_group!, except: [:new, :create] diff --git a/app/controllers/users_groups_controller.rb b/app/controllers/users_groups_controller.rb index ebc79d621a4..9181f1683ae 100644 --- a/app/controllers/users_groups_controller.rb +++ b/app/controllers/users_groups_controller.rb @@ -21,7 +21,7 @@ class UsersGroupsController < ApplicationController @users_group.destroy respond_to do |format| - format.html { redirect_to people_group_path(@group), notice: 'User was successfully removed from group.' } + format.html { redirect_to people_group_path(@group), notice: 'User was successfully removed from group.' } format.js { render nothing: true } end end