added cache buster in for all result url

This commit is contained in:
didier amyot committed 2016-06-02 08:48:55 -04:00
1 parent 137912eaa4
commit b3e48ebdfa
2 files changed
+6 -2

No files matched your search

+1 -2
View File
@@ -26,8 +26,7 @@ define(['m', '_', 'util', 'resultParser', 'views/topNavBar', 'views/footer', 'ar
nextGameDaySchedule.controller = function(){
var games = m.prop([]);
var cacheBuster = 1;
return m.request({method: "GET", url: "api/resultats.json?_=" + cacheBuster})
return m.request({method: "GET", url: util.resultatsURL()})
.then(games)
.then(resultParser.getNightGames)
.then(function(nightGames){