diff options
author | Jan Provaznik <jprovaznik@gitlab.com> | 2018-06-29 17:08:18 +0300 |
---|---|---|
committer | Jarka Kadlecová <jarka@gitlab.com> | 2018-07-03 10:34:44 +0300 |
commit | 50c1a989cc9c756c343e1f169474e35c3850bbc1 (patch) | |
tree | bdde70b3065196d7dd3c7a5b5c1fb84104832a84 /app/helpers/todos_helper.rb | |
parent | ef0df760fc3f8b79b9e1cb4a1669df1a667ba8be (diff) |
More EE->CE fixes
Diffstat (limited to 'app/helpers/todos_helper.rb')
-rw-r--r-- | app/helpers/todos_helper.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/helpers/todos_helper.rb b/app/helpers/todos_helper.rb index 2a097f1a0d3..7cd74358168 100644 --- a/app/helpers/todos_helper.rb +++ b/app/helpers/todos_helper.rb @@ -169,9 +169,7 @@ module TodosHelper end def todo_group_options - groups = current_user.authorized_groups - - groups = groups.map do |group| + groups = current_user.authorized_groups.map do |group| { id: group.id, text: group.full_name } end |