diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-17 12:09:27 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-17 12:09:27 +0300 |
commit | 5f4d643165631ea503b8aa1e9abbecc8341c39c6 (patch) | |
tree | 41c32e3a97a8992d44fd143a26e236a72df7fee9 /app/helpers | |
parent | 7730c140895bcf341d070c57a61326a182f084c6 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/todos_helper.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/app/helpers/todos_helper.rb b/app/helpers/todos_helper.rb index 7b0e0df8998..1fc751eae2c 100644 --- a/app/helpers/todos_helper.rb +++ b/app/helpers/todos_helper.rb @@ -157,16 +157,6 @@ module TodosHelper ] end - def todo_projects_options - projects = current_user.authorized_projects.sorted_by_activity.non_archived.with_route - - projects = projects.map do |project| - { id: project.id, text: project.full_name } - end - - projects.unshift({ id: '', text: 'Any Project' }).to_json - end - def todo_types_options [ { id: '', text: 'Any Type' }, @@ -240,14 +230,6 @@ module TodosHelper false end end - - def todo_group_options - groups = current_user.authorized_groups.with_route.map do |group| - { id: group.id, text: group.full_name } - end - - groups.unshift({ id: '', text: 'Any Group' }).to_json - end end TodosHelper.prepend_if_ee('EE::TodosHelper') |