Browse Source

Fix authorized applications list page design (#9969)

pull/4/head
rinsuki 5 years ago
committed by Eugen Rochko
parent
commit
88f35f339d
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      app/controllers/oauth/authorized_applications_controller.rb

+ 5
- 0
app/controllers/oauth/authorized_applications_controller.rb View File

@ -5,6 +5,7 @@ class Oauth::AuthorizedApplicationsController < Doorkeeper::AuthorizedApplicatio
before_action :store_current_location
before_action :authenticate_resource_owner!
before_action :set_body_classes
include Localized
@ -15,6 +16,10 @@ class Oauth::AuthorizedApplicationsController < Doorkeeper::AuthorizedApplicatio
private
def set_body_classes
@body_classes = 'admin'
end
def store_current_location
store_location_for(:user, request.url)
end

Loading…
Cancel
Save