summaryrefslogtreecommitdiff
path: root/app/helpers/graph_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/graph_helper.rb')
-rw-r--r--app/helpers/graph_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/graph_helper.rb b/app/helpers/graph_helper.rb
index 788002f126d..ab72442857b 100644
--- a/app/helpers/graph_helper.rb
+++ b/app/helpers/graph_helper.rb
@@ -14,7 +14,7 @@ module GraphHelper
end
def parents_zip_spaces(parents, parent_spaces)
- ids = parents.map { |p| p.id }
+ ids = parents.map(&:id)
ids.zip(parent_spaces)
end