We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27a5de2 commit 32b85a0Copy full SHA for 32b85a0
lib/active_model_serializers/railtie.rb
@@ -28,7 +28,7 @@ class Railtie < Rails::Railtie
28
ActiveModelSerializers.config.perform_caching = Rails.configuration.action_controller.perform_caching
29
# We want this hook to run after the config has been set, even if ActionController has already loaded.
30
ActiveSupport.on_load(:action_controller) do
31
- ActiveModelSerializers.config.cache_store = cache_store
+ ActiveModelSerializers.config.cache_store = ActionController::Base.cache_store
32
end
33
34
0 commit comments