Created
February 12, 2016 13:00
-
-
Save zzarcon/711285d0e6e1b9c8c23c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ember.LinkView.reopen({ | |
willRender() { | |
const route = this.attrs.params[0]; | |
let params = this.attrs.params[1]; | |
if (params instanceof Array) { | |
this.attrs.params = [].concat.apply([route], params); | |
} | |
return this._super(...arguments); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment