Set @body_classes to admin layout (#9081)

This commit is contained in:
Yamagishi Kazutoshi authored and Eugen Rochko committed 2018-10-25 00:10:01 +02:00
1 parent df3a7e724d
commit e8ffecbd36
17 files changed
+89 -3

No files matched your search

@@ -4,6 +4,7 @@ class Settings::NotificationsController < ApplicationController
layout 'admin'
before_action :authenticate_user!
before_action :set_body_classes
def show; end
@@ -29,4 +30,8 @@ class Settings::NotificationsController < ApplicationController
interactions: %i(must_be_follower must_be_following must_be_following_dm)
)
end
def set_body_classes
@body_classes = 'admin'
end
end