mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 13:55:55 +00:00
3be03029f6
* Install ember-decorators/observes * Remove filter-predicate * Nativize `env` and inject env service * Nativize all other class based helpers
11 lines
252 B
JavaScript
11 lines
252 B
JavaScript
import Helper from '@ember/component/helper';
|
|
import { inject as service } from '@ember/service';
|
|
|
|
export default class UriHelper extends Helper {
|
|
@service('encoder') encoder;
|
|
|
|
compute(params, hash) {
|
|
return this.encoder.uriJoin(params);
|
|
}
|
|
}
|