Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

Generic URL and multiple data in one route

$
0
0

@hbc wrote:

In my detail page which is "pic" route, I print the clicked news' picture's bigger version and its content.I take them from service as JSON. Also, I'm using generic URL. You can check my twiddle here:

https://ember-twiddle.com/b9cd8b1b3418d876f88235c4aa99e268?openFiles=templates.pic.hbs%2Ctemplates.components.image-list.hbs

How am I gonna add two more little pics,to the bottom right of the page which are next 2 news' links? If I use "model.blahblah" it only gives me the one I selected. Is there any other way?

I searched on the internet but all I found was about using 2 or 3 different models. I have only one, which takes data from service.

Can anybody help me?

Am I making a mistake by not using Ember-Data? Thanks.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles