Acceptation mail is only sent to the main event, not repeats
This commit is contained in:
parent
06e3595988
commit
93bdb05a01
@ -25,7 +25,7 @@ class EventCallbacks
|
||||
end
|
||||
|
||||
def self.after_update(event)
|
||||
if event.moderated_changed?
|
||||
if event.moderated_changed? && event.moderated?
|
||||
tweet event
|
||||
|
||||
if ActionMailer::Base.default_url_options[:host]
|
||||
|
Loading…
Reference in New Issue
Block a user