FIX: wrong track view header

This commit is contained in:
Régis Hanol 2015-07-31 15:03:35 +02:00
parent 969f6ad1d0
commit 8f435fcbf6

View File

@ -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) {