app/views/subjects/_index.html.erb in enju_subject-0.1.0.pre6 vs app/views/subjects/_index.html.erb in enju_subject-0.1.0.pre7

- old
+ new

@@ -21,10 +21,10 @@ <td><%= link_to subject.term, subject -%></td> <td> <%- if can? :update, subject -%> <%= link_to t('page.edit'), edit_subject_path(subject) -%> <%- end -%> - <%- if can? :destroy, subject -%> + <%- if can? :delete, subject -%> <%= link_to t('page.destroy'), subject, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%> <%- end -%> </td> </tr> <%- end -%>