Skip to content

Commit

Permalink
Drop remains of resetting subscriptions to default
Browse files Browse the repository at this point in the history
This got added in #4186 and #4384 and then removed while switching interfaces
to bootstrap in #8341.

Fixes #16198 which was caused by a spammer script going back and forth on
routes with format=js because it could not acknowledge a status message
anymore. Thanks spammer, keep up the good work!
  • Loading branch information
hennevogel committed May 28, 2024
1 parent cd1a5c4 commit 73b45e1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ class Webui::Users::SubscriptionsController < Webui::WebuiController
def index
@user = User.session!
@groups_users = @user.groups_users.includes(:group).order('groups.title')

respond_to do |format|
format.html
format.js
end
end

def update
Expand Down
1 change: 0 additions & 1 deletion src/api/app/views/webui/users/subscriptions/index.js.haml

This file was deleted.

0 comments on commit 73b45e1

Please sign in to comment.