Quantcast
Viewing all articles
Browse latest Browse all 4830

Struggling to understand models - question about Adolfo's ember 101 book

@tchan28 wrote:

I'm quite early on in around pages 29.

How does the index.js Route in the subdirectory friends access friend.js in the models folder?

And how does it then get the data from http://api.ember-101.com/friends since the model uses firstName but in the api it is first-name.

Just having trouble seeing how they all link up.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4830

Trending Articles