Exchange of datas in ember


#1

Hi!!! Am working on ember v2.3.0… Am designing an app where i get datas from the user in one route and printing it in the another route… Am stuck with this…


#2

Hi dkdrk, what specifically are you stuck with?

If you want to get data from another route, it has to be an outer route. For example getting the article model in the nested comments route (/articles/1/comments ). You do this via modelFor, look it up. You can then pass on that data to your comments template.


#3

passing datas within adjacent routes???


#4

I’m sure there are ways to accomplish what you need. Please tell us more about what you are trying to do.