mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
speakers email field is added to pdf
This commit is contained in:
parent
5b7aa56f6b
commit
52a5cb2391
5 changed files with 8 additions and 6 deletions
|
|
@ -213,11 +213,7 @@ class Event < ActiveRecord::Base
|
|||
|
||||
# Returns emails of all the speaker belongs to a particular event
|
||||
def speaker_emails
|
||||
result = []
|
||||
speakers.each do |speaker|
|
||||
result << speaker.email
|
||||
end
|
||||
result.to_sentence
|
||||
speakers.map(&:email).join(', ')
|
||||
end
|
||||
|
||||
##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue