aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorJason Noble <github+jasonn@jasonnoble.org>2012-11-24 22:25:32 -0700
committerJason Noble <github+jasonn@jasonnoble.org>2012-11-24 22:25:32 -0700
commit3e8c4bc6c62a7995821c6835e3314a1411cec43b (patch)
tree2d580e61291d9da47ab8f58e29f4d9dcbf1bc2e3 /guides/source
parenta22fc4abf12f618b25cc2e127971d43d43eb98c4 (diff)
downloadrails-3e8c4bc6c62a7995821c6835e3314a1411cec43b.tar.gz
rails-3e8c4bc6c62a7995821c6835e3314a1411cec43b.tar.bz2
rails-3e8c4bc6c62a7995821c6835e3314a1411cec43b.zip
Added new line to make it more readable
* This shows the reader there is a method: and data: parameters
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/getting_started.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index 6528759041..64435c0d5b 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -1123,7 +1123,8 @@ together.
<td><%= post.text %></td>
<td><%= link_to 'Show', action: :show, id: post.id %></td>
<td><%= link_to 'Edit', action: :edit, id: post.id %></td>
- <td><%= link_to 'Destroy', { action: :destroy, id: post.id }, method: :delete, data: { confirm: 'Are you sure?' } %></td>
+ <td><%= link_to 'Destroy', { action: :destroy, id: post.id },
+ method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</table>