minor changes
This commit is contained in:
parent
7c0fa59a0a
commit
5b7aa56f6b
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ class Event < ActiveRecord::Base
|
||||||
|
|
||||||
# Returns emails of all the speaker belongs to a particular event
|
# Returns emails of all the speaker belongs to a particular event
|
||||||
def speaker_emails
|
def speaker_emails
|
||||||
result = Array.new
|
result = []
|
||||||
speakers.each do |speaker|
|
speakers.each do |speaker|
|
||||||
result << speaker.email
|
result << speaker.email
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue