minor changes

This commit is contained in:
Your Name 2017-10-13 16:08:33 +05:30 committed by Naman Gupta
parent 7c0fa59a0a
commit 5b7aa56f6b

View file

@ -213,7 +213,7 @@ class Event < ActiveRecord::Base
# Returns emails of all the speaker belongs to a particular event
def speaker_emails
result = Array.new
result = []
speakers.each do |speaker|
result << speaker.email
end