added cache buster in for all result url
This commit is contained in:
1 parent
137912eaa4
commit
b3e48ebdfa
2 files changed
+6
-2
No files matched your search
@@ -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){
|
||||
|
||||
Reference in new issue
Block a user