Skip to content
Browse files

Merge pull request #12368 from francisgo/patch-5

Getting Started Guide: update link_to string argument to use single-quote [ci skip]
  • Loading branch information...
2 parents a6e1a73 + 7e31fbc commit 5d8e122c6c1b20264b60b2771c0a7ede826c20ce @senny senny committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/getting_started.md
View
2 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

0 comments on commit 5d8e122

Please sign in to comment.
Something went wrong with that request. Please try again.