summaryrefslogtreecommitdiffstats
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-04 20:54:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-04 20:54:55 +0000
commitca4ed6df8629ed4b31966b6a9a393cadd203b48f (patch)
treeea5e5a6875768b87f618716b31c0916dc7e47e2c /app/helpers/application_helper.rb
parent0ab49d9c7c22da877181e54f001d1d1fae837e41 (diff)
downloadredmine-ca4ed6df8629ed4b31966b6a9a393cadd203b48f.tar.gz
redmine-ca4ed6df8629ed4b31966b6a9a393cadd203b48f.zip
Removed unused helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13699 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r--app/helpers/application_helper.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index ea81dabfe..f11a61c67 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -387,15 +387,6 @@ module ApplicationHelper
s.html_safe
end
- # Options for the new membership projects combo-box
- def options_for_membership_project_select(principal, projects)
- options = content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---")
- options << project_tree_options_for_select(projects) do |p|
- {:disabled => principal.projects.to_a.include?(p)}
- end
- options
- end
-
def option_tag(name, text, value, selected=nil, options={})
content_tag 'option', value, options.merge(:value => value, :selected => (value == selected))
end