From 896732975e02d35c4e43266b0ff8e42a68e3fd3f Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 26 Aug 2016 13:45:56 +1000 Subject: [PATCH] correct url linked in push notification --- app/jobs/regular/push_notification.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/regular/push_notification.rb b/app/jobs/regular/push_notification.rb index d050ca720..78c9130ed 100644 --- a/app/jobs/regular/push_notification.rb +++ b/app/jobs/regular/push_notification.rb @@ -2,7 +2,7 @@ module Jobs class PushNotification < Jobs::Base def execute(args) notification = args["payload"] - notification["url"] = UrlHelper.absolute(notification["post_url"]) + notification["url"] = UrlHelper.absolute_without_cdn(notification["post_url"]) notification.delete("post_url") payload = {