Merge branch 'kb_migration' into kb_migration_development

This commit is contained in:
KMY 2023-04-20 17:43:47 +09:00
commit 51cac0760f
99 changed files with 1077 additions and 365 deletions

View file

@ -6,6 +6,7 @@ class StatusesCleanupController < ApplicationController
before_action :authenticate_user!
before_action :set_policy
before_action :set_body_classes
before_action :set_cache_headers
def show; end
@ -36,4 +37,8 @@ class StatusesCleanupController < ApplicationController
def set_body_classes
@body_classes = 'admin'
end
def set_cache_headers
response.cache_control.replace(private: true, no_store: true)
end
end