summaryrefslogtreecommitdiff
path: root/app/helpers/selects_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/selects_helper.rb')
-rw-r--r--app/helpers/selects_helper.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/app/helpers/selects_helper.rb b/app/helpers/selects_helper.rb
index 99da9a7af6c..7ee40c28bad 100644
--- a/app/helpers/selects_helper.rb
+++ b/app/helpers/selects_helper.rb
@@ -1,20 +1,6 @@
# frozen_string_literal: true
module SelectsHelper
- def groups_select_tag(id, opts = {})
- classes = Array.wrap(opts[:class])
- classes << 'ajax-groups-select'
-
- # EE requires this line to be present, but there is no easy way of injecting
- # this into EE without causing merge conflicts. Given this line is very
- # simple and not really EE specific on its own, we just include it in CE.
- classes << 'multiselect' if opts[:multiple]
-
- opts[:class] = classes.join(' ')
-
- select2_tag(id, opts)
- end
-
def project_select_tag(id, opts = {})
opts[:class] = [*opts[:class], 'ajax-project-select'].join(' ')