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