Make selectbox naming match issue #126

parent e0d6a086
module AdminEmailHelper
def admin_email_grouped_recipient_options
options_for_select([['Everyone', 'all']]) +
options_for_select([['All GitLab users', 'all']]) +
grouped_options_for_select(
'Groups' => Group.pluck(:name, :id).map{ |name, id| [name, "group-#{id}"] },
'Projects' => grouped_project_list
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment