Hi, I have a an app with an endpoint like:
that renders an array of stories:
{{#each story in stories}}
{{my-story-view model=story}}
{{/each}}
I would like to add a subroute:
腾讯应用宝官网-全网最新最热应用及游戏下载code/story/story_id
that scrolls to that story in the parent page if it exists… and does nothing if it doesn’t.
I am unclear how to proceed. I have a new route and controller for the individual story, can link to the parent controller (the array of stories), can detect if the model for the individual story exists, but can’t come up with a way to find the ‘my-story-view’ associated with the model so I can scroll to it.
Any ideas? Thanks for your help!