Skip to content

Commit

Permalink
Merge pull request #35582 from vipulnsward/kill-warning-from-guides
Browse files Browse the repository at this point in the history
Fix warnings from Guides generation
  • Loading branch information
kaspth committed Mar 12, 2019
2 parents 7ed1302 + bb8fe37 commit a04a757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/rails_guides/generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def generate_guide(guide, output_file)
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,
Expand Down

0 comments on commit a04a757

Please sign in to comment.