summaryrefslogtreecommitdiffstats
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-10-22 18:28:33 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-10-22 18:28:33 +0000
commit0fc1906201be897fb1d7b1424cd3955f0e224eb4 (patch)
tree45e2da912130b1764517abc069f55a3c7924ab0d /app/helpers/application_helper.rb
parent2d1866d966d94c688f9cb87c5bf3f096dffac844 (diff)
downloadredmine-0fc1906201be897fb1d7b1424cd3955f0e224eb4.tar.gz
redmine-0fc1906201be897fb1d7b1424cd3955f0e224eb4.zip
Removed deprecated stuff for Redmine 3.0.
git-svn-id: http://svn.redmine.org/redmine/trunk@13483 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r--app/helpers/application_helper.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 0cb4c4c00..7e9cdce90 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -137,8 +137,6 @@ module ApplicationHelper
def link_to_project(project, options={}, html_options = nil)
if project.archived?
h(project.name)
- elsif options.key?(:action)
- raise "#link_to_project no longer accepts :action option in Redmine 3.0"
else
link_to project.name, project_path(project, options), html_options
end
@@ -1054,14 +1052,6 @@ module ApplicationHelper
fields_for(*args, &proc)
end
- def labelled_remote_form_for(*args, &proc)
- ActiveSupport::Deprecation.warn "ApplicationHelper#labelled_remote_form_for is deprecated and will be removed in Redmine 2.2."
- args << {} unless args.last.is_a?(Hash)
- options = args.last
- options.merge!({:builder => Redmine::Views::LabelledFormBuilder, :remote => true})
- form_for(*args, &proc)
- end
-
def error_messages_for(*objects)
html = ""
objects = objects.map {|o| o.is_a?(String) ? instance_variable_get("@#{o}") : o}.compact