diff options
Diffstat (limited to 'app/views/issues/index.html.erb')
-rw-r--r-- | app/views/issues/index.html.erb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index ac9da57dc..8e9b81fdc 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -1,8 +1,7 @@ <div class="contextual"> <% if !@query.new_record? && @query.editable_by?(User.current) %> <%= link_to l(:button_edit), edit_query_path(@query), :class => 'icon icon-edit' %> - <%= link_to l(:button_delete), query_path(@query), :confirm => l(:text_are_you_sure), - :method => :delete, :class => 'icon icon-del' %> + <%= delete_link query_path(@query) %> <% end %> </div> |