From 8f435fcbf6f8dc7dda077fc34ba645552cb3f960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Fri, 31 Jul 2015 15:03:35 +0200 Subject: [PATCH] FIX: wrong track view header --- app/assets/javascripts/discourse/mixins/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/mixins/ajax.js b/app/assets/javascripts/discourse/mixins/ajax.js index a659ed57be6..1b8e2b626ae 100644 --- a/app/assets/javascripts/discourse/mixins/ajax.js +++ b/app/assets/javascripts/discourse/mixins/ajax.js @@ -47,7 +47,7 @@ Discourse.Ajax = Em.Mixin.create({ if (_trackView && (!args.type || args.type === "GET")) { _trackView = false; - args.headers['Discourse-Track-View'] = true; + args.headers['HTTP_DISCOURSE_TRACK_VIEW'] = true; } args.success = function(data, textStatus, xhr) {