Closed jobsboris27 closed 8 years ago
Yep, you would want to do something like this:
urlTemplate: 'http://example.com/someApi/someUrl/{locale}/whatever',
i18n: inject.service(),
urlSegments: {
locale() {
return this.get('i18n.locale');
},
}
I want to inject i18n in adapter for changing my namespace.