1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Use the suggested with_empty_template_cache to overcome warning
This commit is contained in:
Vipul A M 2019-03-12 16:22:22 +05:30
parent c5979e7bea
commit bb8fe3701a

View file

@ -150,7 +150,7 @@ module RailsGuides
puts "Generating #{guide} as #{output_file}"
layout = @kindle ? "kindle/layout" : "layout"
view = ActionView::Base.with_view_paths(
view = ActionView::Base.with_empty_template_cache.with_view_paths(
[@source_dir],
edge: @edge,
version: @version,