swap order in dispatcher to get less errors posting to services

This commit is contained in:
Maxwell Salzberg 2012-02-01 14:10:54 -08:00
parent f826340336
commit d8bfa52af7

View file

@ -55,8 +55,8 @@ class Postzord::Dispatcher
# @return [Object]
def post
self.post_to_subscribers if @subscribers.present?
self.deliver_to_services(@opts[:url], @opts[:services] || [])
self.post_to_subscribers if @subscribers.present?
self.process_after_dispatch_hooks
@object
end