diff options
author | Francis Go <francis.go@gmail.com> | 2013-09-26 13:37:44 +1000 |
---|---|---|
committer | Francis Go <francis.go@gmail.com> | 2013-09-26 13:37:44 +1000 |
commit | 7e31fbc4a0acfd96618d1170169c7b4b0045ebe2 (patch) | |
tree | bcc4621a849cc2bbb537885d4ab5e96deacdf99f /guides | |
parent | a6e1a73ffd05211e09e93fc5df4e5ef9af718b11 (diff) | |
download | rails-7e31fbc4a0acfd96618d1170169c7b4b0045ebe2.tar.gz rails-7e31fbc4a0acfd96618d1170169c7b4b0045ebe2.tar.bz2 rails-7e31fbc4a0acfd96618d1170169c7b4b0045ebe2.zip |
Getting Started Guide: update link_to string argument to use single-quote mark, following document style [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/getting_started.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index 5576b23d91..d3d3f4eea4 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -846,7 +846,7 @@ Open `app/views/welcome/index.html.erb` and modify it as follows: ```html+erb <h1>Hello, Rails!</h1> -<%= link_to "My Blog", controller: "posts" %> +<%= link_to 'My Blog', controller: 'posts' %> ``` The `link_to` method is one of Rails' built-in view helpers. It creates a |