Skip to content

Commit b928550

Browse files
committed
Ensure cache helpers exists
1 parent 9aa3dd9 commit b928550

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/jbuilder/railtie.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ module ApiRendering
2020
if name == 'ActionController::API'
2121
include ActionController::Helpers
2222
include ActionController::ImplicitRender
23+
helper_method :combined_fragment_cache_key
24+
helper_method :view_cache_dependencies
2325
end
2426
end
2527
end

0 commit comments

Comments
 (0)