generators/dry_scaffold/templates/views/haml/index.html.haml in grimen-dry_scaffold-0.2.6 vs generators/dry_scaffold/templates/views/haml/index.html.haml in grimen-dry_scaffold-0.3.0
- old
+ new
@@ -1,9 +1,9 @@
%h1.heading
= "<%= plural_name.humanize %>"
%p.actions
- = link_to 'New <%= singular_name.humanize %>', <%= new_link %>
+ = link_to 'New <%= singular_name.humanize %>', <%= new_path %>
%table
%thead.header
%tr
<% attributes.each do |attribute| -%>
\ No newline at end of file