From a05f43000a60b4b0183cf02976ea53e6c6033009 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Wed, 3 Jun 2020 20:45:30 +0100 Subject: [PATCH] ActionView was extracted from ActionPack in rails 4.1 so we need to use ActionView --- app/models/concerns/api_action_caching.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/concerns/api_action_caching.rb b/app/models/concerns/api_action_caching.rb index b3e030e408..ec58e25c27 100644 --- a/app/models/concerns/api_action_caching.rb +++ b/app/models/concerns/api_action_caching.rb @@ -9,7 +9,7 @@ module ApiActionCaching included do include ActionController::Caching include ActionController::Caching::Actions - include AbstractController::Layouts + include ActionView::Layouts # These configs are not assigned to the controller automatically with ActionController::Metal self.cache_store = Rails.configuration.cache_store