app/views/classifications/_index.html.erb in enju_subject-0.0.15 vs app/views/classifications/_index.html.erb in enju_subject-0.0.16

- old
+ new

@@ -25,10 +25,10 @@ <td><%= classification.note -%></td> <td><%= link_to classification.classification_type.display_name.localize, classification.classification_type -%></td> <td> <%- if can? :destroy, classification -%> <%= link_to t('page.edit'), edit_classification_path(classification) -%> - <%= link_to t('page.destroy'), classification, :confirm => t('page.are_you_sure'), :method => :delete -%> + <%= link_to t('page.destroy'), classification, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%> <%- end -%> </td> </tr> <%- end -%> </table>