include all groups in user csv export

This commit is contained in:
Arpit Jalan 2014-10-24 00:36:45 +05:30
parent f959bf7d93
commit 8b56c16e14
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ module Jobs
def get_group_names(user)
group_names = []
groups = user.custom_groups
groups = user.groups
groups.each do |group|
group_names.push(group.name)
end