Occasionally my index page of my site loads but my app content does not. Looking at my main.js file I found the router and wondering if there is something incorrect within it to cause ember.js to sometimes not load the page.
function() {
App.NowplayingRoute = Ember.Route.extend({
queryParams: {
movie: {
refreshModel: !0
},
showCriticsPicks: {
refreshModel: !0
}
},
model: function(a) {
return console.log(a.movie), App.Movie.findAll(a)
},
didTransition: function() {
googletag.pubads().refresh(), console.log("now playing transitioned")
}
})
}(),