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

Using nested routing in ember

$
0
0

@prao wrote:

Hi

I know this question already posted many times in the forum. I need some clarification from the experts.
I have setup a project to read data from external API. Few methods in the API are

Here is the route setup

I was able to read the data from first URL. I am having problem reading data from second URL, I see this "www.payrollapi.dev//api/v1//clients/1" URL in the developer console, with 404 not found error. I know the URL is wrong, it is missing /employees at the end.

Is my route definition is correct, if not, please tell me what is the right route definition. Also the folder structure within the route folder and template folder.

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles