diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-10-25 00:08:39 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-10-25 00:08:39 -0200 |
commit | d34a2747cb43cc7f23d134e2853879ef4888e372 (patch) | |
tree | d391f3799460fdb4ac6108215183cadd66c89d4d | |
parent | 3cc30db12ca4b92d6c46a2fd28b2622c7ba4fe42 (diff) | |
download | rails-d34a2747cb43cc7f23d134e2853879ef4888e372.tar.gz rails-d34a2747cb43cc7f23d134e2853879ef4888e372.tar.bz2 rails-d34a2747cb43cc7f23d134e2853879ef4888e372.zip |
Fix plain option in the rails_guides generator
-rw-r--r-- | guides/rails_guides/markdown.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/rails_guides/markdown.rb b/guides/rails_guides/markdown.rb index 33563d669c..ea7bf0fec2 100644 --- a/guides/rails_guides/markdown.rb +++ b/guides/rails_guides/markdown.rb @@ -158,7 +158,7 @@ module RailsGuides @view.content_for(:header_section) { @header } @view.content_for(:page_title) { @title } @view.content_for(:index_section) { @index } - @view.render(layout: @layout, text: @body) + @view.render(layout: @layout, plain: @body) end end end |