aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorDaniel Rodríguez Troitiño <drodrigueztroitino@yahoo.es>2013-10-10 18:38:04 +0200
committerDaniel Rodríguez Troitiño <drodrigueztroitino@yahoo.es>2013-10-10 18:38:04 +0200
commit723c3881b9d77e3dd14b17d8b3403cd9b578e063 (patch)
treeab4059b79db5c52dcc0526e0289d8e0c7186a5d5 /guides
parenta8a33ac663fce963a59517132c1154f43e9a85ad (diff)
downloadrails-723c3881b9d77e3dd14b17d8b3403cd9b578e063.tar.gz
rails-723c3881b9d77e3dd14b17d8b3403cd9b578e063.tar.bz2
rails-723c3881b9d77e3dd14b17d8b3403cd9b578e063.zip
Keep code consistent with previous code blocks.
[ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/getting_started.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index bb2e8e906f..2f322d15da 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -1490,8 +1490,8 @@ So first, we'll wire up the Post show template
</p>
<% end %>
-<%= link_to 'Edit Post', edit_post_path(@post) %> |
-<%= link_to 'Back to Posts', posts_path %>
+<%= link_to 'Back', posts_path %>
+| <%= link_to 'Edit', edit_post_path(@post) %>
```
This adds a form on the `Post` show page that creates a new comment by