diff --git a/app/models/concerns/api_action_caching.rb b/app/models/concerns/api_action_caching.rb index 05dbc9f0d4..b3e030e408 100644 --- a/app/models/concerns/api_action_caching.rb +++ b/app/models/concerns/api_action_caching.rb @@ -13,7 +13,7 @@ module ApiActionCaching # These configs are not assigned to the controller automatically with ActionController::Metal self.cache_store = Rails.configuration.cache_store - self.perform_caching = ActionController::Base.perform_caching + self.perform_caching = true # ActionController::Caching asks for a controller's layout, but they're not used in the API layout false