Skip to content

Commit 204f113

Browse files
rinsukihiyuki2578
authored andcommitted
Fix authorized applications list page design (mastodon#9969)
1 parent 943fbd9 commit 204f113

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

app/controllers/oauth/authorized_applications_controller.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ class Oauth::AuthorizedApplicationsController < Doorkeeper::AuthorizedApplicatio
55

66
before_action :store_current_location
77
before_action :authenticate_resource_owner!
8+
before_action :set_body_classes
89

910
include Localized
1011

@@ -15,6 +16,10 @@ def destroy
1516

1617
private
1718

19+
def set_body_classes
20+
@body_classes = 'admin'
21+
end
22+
1823
def store_current_location
1924
store_location_for(:user, request.url)
2025
end

0 commit comments

Comments
 (0)