aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-09-26 00:11:48 -0700
committerYves Senn <yves.senn@gmail.com>2013-09-26 00:11:48 -0700
commit5d8e122c6c1b20264b60b2771c0a7ede826c20ce (patch)
treebcc4621a849cc2bbb537885d4ab5e96deacdf99f /guides
parenta6e1a73ffd05211e09e93fc5df4e5ef9af718b11 (diff)
parent7e31fbc4a0acfd96618d1170169c7b4b0045ebe2 (diff)
downloadrails-5d8e122c6c1b20264b60b2771c0a7ede826c20ce.tar.gz
rails-5d8e122c6c1b20264b60b2771c0a7ede826c20ce.tar.bz2
rails-5d8e122c6c1b20264b60b2771c0a7ede826c20ce.zip
Merge pull request #12368 from francisgo/patch-5
Getting Started Guide: update link_to string argument to use single-quote [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/getting_started.md2
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