Skip to content
Snippets Groups Projects
Commit 3c02db86 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

symetry

parent e86865be
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,12 @@ class Communication::Block::Template::Person < Communication::Block::Template::B
end
@elements
end
def people
@people ||= elements.collect(&:person).compact.uniq
end
def children
elements.collect(&:person).compact
people
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment