Rewrite in ember-cli