From 0fc1906201be897fb1d7b1424cd3955f0e224eb4 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 22 Oct 2014 18:28:33 +0000 Subject: Removed deprecated stuff for Redmine 3.0. git-svn-id: http://svn.redmine.org/redmine/trunk@13483 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'app/helpers/application_helper.rb') 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 -- cgit v1.2.3