Merge branch 'master' of git.framasoft.org:agenda-libre/agenda-libre-ruby into rails5

This commit is contained in:
echarp 2017-11-17 23:37:03 +01:00
commit c76c46a104

View File

@ -16,7 +16,7 @@ class EventCallbacks
def self.before_update(event)
return unless event.will_save_change_to_moderated? && event.moderated?
event.decision_time = Time.zone.now
create_repeats event if event.repeat > 0 && event.rule
create_repeats event if event.repeat.try(:positive?) && event.rule
end
def self.after_update(event)