app/views/message_templates/index.html.erb in enju_message-0.0.25 vs app/views/message_templates/index.html.erb in enju_message-0.1.0
- old
+ new
@@ -24,10 +24,10 @@
<td>
<%- if can? :update, message_template -%>
<%= link_to t('page.edit'), edit_message_template_path(message_template) -%>
<% end %>
<%- if can? :destroy, message_template -%>
- <%= link_to t('page.destroy'), message_template, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
+ <%= link_to t('page.destroy'), message_template, :confirm => t('page.are_you_sure'), :method => :delete -%>
<%- end -%>
</td>
</tr>
<%- end -%>
</table>