Skip to content

Commit d196da2

Browse files
committed
Merge pull request #12 from instacart/master
Set up cache store correctly
2 parents 6113b5a + b42a949 commit d196da2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/render_anywhere/rendering_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def initialize(*args)
3131
config.javascripts_dir = Rails.root.join('public', 'javascripts')
3232
config.stylesheets_dir = Rails.root.join('public', 'stylesheets')
3333
config.assets_dir = Rails.root.join('public')
34+
config.cache_store = ActionController::Base.cache_store
3435

3536
# same asset host as the controllers
3637
self.asset_host = ActionController::Base.asset_host

0 commit comments

Comments
 (0)