1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Added new line to make it more readable

* This shows the reader there is a method: and 
  data: parameters
This commit is contained in:
Jason Noble 2012-11-24 22:25:32 -07:00
parent a22fc4abf1
commit 3e8c4bc6c6

View file

@ -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>