aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@github.com>2019-01-30 11:57:47 -0800
committerGitHub <noreply@github.com>2019-01-30 11:57:47 -0800
commit535a8b995700a5875a898691b19b88969c22d264 (patch)
tree536c260987f394bbcb650c20fe401b89ec30443a /guides
parent8ca6bd2e942f9a2652ec20c0c419e9b08f25c2e1 (diff)
parente17fe52e0e0ef0842b6c409e1110a862c4e005bc (diff)
downloadrails-535a8b995700a5875a898691b19b88969c22d264.tar.gz
rails-535a8b995700a5875a898691b19b88969c22d264.tar.bz2
rails-535a8b995700a5875a898691b19b88969c22d264.zip
Merge pull request #35093 from rails/av-base-constructor
Tighten up the AV::Base constructor
Diffstat (limited to 'guides')
-rw-r--r--guides/rails_guides/generator.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/rails_guides/generator.rb b/guides/rails_guides/generator.rb
index fd33c3f8a7..b0ddb0e7e0 100644
--- a/guides/rails_guides/generator.rb
+++ b/guides/rails_guides/generator.rb
@@ -150,8 +150,8 @@ module RailsGuides
puts "Generating #{guide} as #{output_file}"
layout = @kindle ? "kindle/layout" : "layout"
- view = ActionView::Base.new(
- @source_dir,
+ view = ActionView::Base.with_view_paths(
+ [@source_dir],
edge: @edge,
version: @version,
mobi: "kindle/#{mobi}",