Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
wrongStations: function() {
var wrongStations = [];
$.each(this.store.all('station').content, function(i, station) {
if (station.get('name').parameterize() !== station.get('slug')) {
console.log(station.get('id'), station.get('name').parameterize(), station.get('slug'));
wrongStations.pushObject(station);
}
});
return wrongStations;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment