Skip to content

Commit

Permalink
Ensure cache helpers exists
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Nov 9, 2024
1 parent 9aa3dd9 commit b928550
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/jbuilder/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ module ApiRendering
if name == 'ActionController::API'
include ActionController::Helpers
include ActionController::ImplicitRender
helper_method :combined_fragment_cache_key
helper_method :view_cache_dependencies
end
end
end
Expand Down

0 comments on commit b928550

Please sign in to comment.