lundi 4 juin 2018

Ember - Hitting refresh on browser redirects to previous controller?

I have an ember application. The routes are setup like.

customer 
customer/view/:customerId 
customer/dashboard 
customer/device-sharing

Customer/dashboard page displays a component, a table, which has a #linkto helper with route customer.device-sharing

This is working as expected. The issue is, once on device-sharing route, if I am hitting refresh button on browser, the app is being redirected to dashboard route.

Any ideas where I can be going wrong?

Regards, Ishan




Aucun commentaire:

Enregistrer un commentaire