diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-18 18:04:23 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-18 18:04:23 +0000 |
commit | db64340419eceec5966ffc910daf38cf35506fd3 (patch) | |
tree | 8d356e569070819a03fd52e90d3904b3cddfa062 /app/helpers/application_helper.rb | |
parent | fb6b565a1ec968a0f7f9f261ec1d6a328d891209 (diff) | |
download | redmine-db64340419eceec5966ffc910daf38cf35506fd3.tar.gz redmine-db64340419eceec5966ffc910daf38cf35506fd3.zip |
Deprecates unused stuff (#12909).
git-svn-id: http://svn.redmine.org/redmine/trunk@15338 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 4d5934858..f298a15ed 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -454,6 +454,9 @@ module ApplicationHelper end def reorder_links(name, url, method = :post) + # TODO: remove associated styles from application.css too + ActiveSupport::Deprecation.warn "Application#reorder_links will be removed in Redmine 4." + link_to(l(:label_sort_highest), url.merge({"#{name}[move_to]" => 'highest'}), :method => method, :title => l(:label_sort_highest), :class => 'icon-only icon-move-top') + |