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:
parent
a22fc4abf1
commit
3e8c4bc6c6
1 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue