Skip to content

Commit

Permalink
reload venue before bubbling up
Browse files Browse the repository at this point in the history
  • Loading branch information
branch14 committed Mar 16, 2017
1 parent 4e9a251 commit 727cde2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/talk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -836,8 +836,8 @@ def propagate_changes
return if Rails.env.test?
push_snapshot

# bubble up
venue.push_snapshot
# bubble up (reload required to not send outdated states)
venue.reload.push_snapshot
end

def push_snapshot
Expand Down

0 comments on commit 727cde2

Please sign in to comment.