aboutsummaryrefslogtreecommitdiffstats
path: root/guides/rails_guides/markdown.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-08-06 19:39:28 +0200
committerXavier Noria <fxn@hashref.com>2016-08-06 19:39:28 +0200
commit1607ee299d15c133b2b63dcfc840eddfba7e525b (patch)
treef1d045de895e4488c95553262a991e62d89756e3 /guides/rails_guides/markdown.rb
parent477568ee33bee0dc5e57b9df624142296e3951a4 (diff)
downloadrails-1607ee299d15c133b2b63dcfc840eddfba7e525b.tar.gz
rails-1607ee299d15c133b2b63dcfc840eddfba7e525b.tar.bz2
rails-1607ee299d15c133b2b63dcfc840eddfba7e525b.zip
modernizes hash syntax in guides
Diffstat (limited to 'guides/rails_guides/markdown.rb')
-rw-r--r--guides/rails_guides/markdown.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/rails_guides/markdown.rb b/guides/rails_guides/markdown.rb
index 6c44353b3b..6037016f12 100644
--- a/guides/rails_guides/markdown.rb
+++ b/guides/rails_guides/markdown.rb
@@ -159,7 +159,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, text: @body)
end
end
end