diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-07 14:36:49 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-07 14:36:49 +0000 |
commit | 7b40767428ac5c04ba80d95c7c90b049c73c7f36 (patch) | |
tree | 641733a4a56afead53aba5da5faba801d84c2c13 /app/views/issues/index.html.erb | |
parent | 56666a41b82d98a773d93dd8fa903a4d702b07ec (diff) | |
download | redmine-7b40767428ac5c04ba80d95c7c90b049c73c7f36.tar.gz redmine-7b40767428ac5c04ba80d95c7c90b049c73c7f36.zip |
Deprecated :confirm => 'Text' option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9937 e93f8b46-1217-0410-a6f0-8f06a7374b81
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> |