A
A
Alexey Aristov2016-07-01 13:13:47
JavaScript
Alexey Aristov, 2016-07-01 13:13:47

Emberjs: Is it possible to remove the ending -s when requesting store.findeAll?

I send a request
this.store.findAll('carrier');
and in firebug I observe that the request has gone to the address

https://hostname/ carriers .

Is it possible to make sure that the ending -s is not added to the address?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ibray, 2016-09-13
@aristov

Something like this
Inflector to change endings
How to connect your Inflector

S
Sergey Andreev, 2016-07-01
@DragorWW

You need to set up an adapter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question