jeudi 12 juillet 2018

ember redirect mirage requests to another route in imported module

my ember app has an adapter which generates below URL when I query for all employee models:

/proxy/v1/employees/details (namespace i have defined is /proxy/v1)

I am importing one node module which is an another ember app that has a route defined in mirage as: /employee/details

Is there a way my main app can call this route? Currently mirage throws me an error saying that route: /proxy/v1/employees/details is not defined.




Aucun commentaire:

Enregistrer un commentaire