about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorrinsuki <428rinsuki+git@gmail.com>2019-02-05 06:25:42 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-02-04 22:25:42 +0100
commit88f35f339d19eed87bb3b55ebd5ed2303726aa78 (patch)
treeec279906f18a1497a51ed4e1a54d40eb132b40d3 /app/controllers
parentc78d64d9c399d58a49aa92fbb2c607bb681ef5a0 (diff)
Fix authorized applications list page design (#9969)
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/oauth/authorized_applications_controller.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/oauth/authorized_applications_controller.rb b/app/controllers/oauth/authorized_applications_controller.rb
index 0c28d194b..f3d235366 100644
--- a/app/controllers/oauth/authorized_applications_controller.rb
+++ b/app/controllers/oauth/authorized_applications_controller.rb
@@ -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