Fix method call for service hook

This commit is contained in:
Dmitriy Zaporozhets 2012-11-20 16:46:22 +02:00
parent f6248c255e
commit ed92cfdebd

View file

@ -57,7 +57,7 @@ module PushObserver
services.each do |service|
# Call service hook only if it is active
service.execute if service.active
service.execute(data) if service.active
end
end