lib/generators/zoo/scaffold/templates/views/haml/edit.html.haml in zoo-generators-0.1.0 vs lib/generators/zoo/scaffold/templates/views/haml/edit.html.haml in zoo-generators-0.1.1
- old
+ new
@@ -3,10 +3,10 @@
<%= render_form %>
<%- if actions? :show, :index -%>
%p
<%- if action? :show -%>
- = link_to "Show", <%= item_path :instance_variable => true %>
+ = link_to "Show", <%= item_path instance_variable: true %>
|
<%- end -%>
<%- if action? :index -%>
= link_to "View All", <%= items_path %>
<%- end -%>