diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-10-25 03:06:08 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-10-25 03:06:57 -0200 |
commit | 1e7f6488f7e4d52c444233ebd95b830b304030b9 (patch) | |
tree | fad5d7b572361d5200c63b756b5029cb567a9715 /guides/rails_guides | |
parent | 5f6f911e1f7e0f525cbfd74b89abdfbc9f6b7268 (diff) | |
download | rails-1e7f6488f7e4d52c444233ebd95b830b304030b9.tar.gz rails-1e7f6488f7e4d52c444233ebd95b830b304030b9.tar.bz2 rails-1e7f6488f7e4d52c444233ebd95b830b304030b9.zip |
Generate HTML not plain text
Diffstat (limited to 'guides/rails_guides')
-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 ea7bf0fec2..f1e61e485d 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, plain: @body) + @view.render(layout: @layout, html: @body) end end end |