Skip to content

Commit

Permalink
ActionView was extracted from ActionPack in rails 4.1 so we need to u…
Browse files Browse the repository at this point in the history
…se ActionView
  • Loading branch information
luisramos0 committed Oct 13, 2020
1 parent 6c24017 commit 6d53950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/api_action_caching.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d53950

Please sign in to comment.