Skip to content

Commit bd95509

Browse files
committed
Merge pull request #100 from amatsuda/hash_literal
Revert "Restore ruby 1.8 compatibility"
2 parents 899e194 + e1a2cfa commit bd95509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/generators/haml/scaffold/templates/index.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<% end -%>
1919
%td= link_to 'Show', <%= singular_table_name %>
2020
%td= link_to 'Edit', edit_<%= singular_table_name %>_path(<%= singular_table_name %>)
21-
%td= link_to 'Destroy', <%= singular_table_name %>, :method => :delete, :data => { :confirm => 'Are you sure?' }
21+
%td= link_to 'Destroy', <%= singular_table_name %>, method: :delete, data: { confirm: 'Are you sure?' }
2222

2323
%br
2424

0 commit comments

Comments
 (0)