ActionView was extracted from ActionPack in rails 4.1 so we need to use ActionView

This commit is contained in:
Luis Ramos
2020-06-03 20:45:30 +01:00
committed by Matt-Yorkley
parent 61708e5deb
commit a05f43000a

View File

@@ -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