Skip to content

Commit

Permalink
use 1.9 hash literal syntax instead
Browse files Browse the repository at this point in the history
  • Loading branch information
baroquebobcat committed Sep 24, 2010
1 parent 85f4a67 commit a6df72e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/contacts/app/views/contacts/edit.html.erb
Expand Up @@ -27,7 +27,7 @@
</p>
<p>
<%= f.label :url %><br />
<%= f.text_field :url, {:size => '60'} %>
<%= f.text_field :url, size: '60' %>
</p>
<p>
<%= f.label :address %><br />
Expand Down
2 changes: 1 addition & 1 deletion examples/contacts/app/views/contacts/index.html.erb
Expand Up @@ -27,7 +27,7 @@
<td><%= contact.private ? :true : :false %></td>
<td><%= link_to 'Show', resource(contact) %></td>
<td><%= link_to 'Edit', resource(contact, :edit) %></td>
<td><%= link_to 'Destroy', resource(contact), {:confirm => 'Are you sure?', :method => :delete} %></td>
<td><%= link_to 'Destroy', resource(contact), confirm: 'Are you sure?', method: :delete %></td>
</tr>
<% end %>
</table>
Expand Down
2 changes: 1 addition & 1 deletion examples/contacts/app/views/contacts/new.html.erb
Expand Up @@ -27,7 +27,7 @@
</p>
<p>
<%= f.label :url %><br />
<%= f.text_field :url, {:size => '60'} %>
<%= f.text_field :url, size: '60' %>
</p>
<p>
<%= f.label :address %><br />
Expand Down

0 comments on commit a6df72e

Please sign in to comment.