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

Work with records for a modal other than the current routes model

$
0
0

@JordanRDesigns wrote:

What would be the ember/ember-data way of creating a record for a record that is not the current routes record?

The scenario I have is I have an items route that finds is a list of items, when I click on one I transition to the item route which shows me all the info for that one item. I also have a bids resource but the way the bids will be worked with is always from an item route. So placing a bid happens on an item route.

So how would I go about tackling this? I was going to setup an ajax request in an action connected to my place bid button in the item route but I'm worried this might not be the ember way?

Posts: 12

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4826

Trending Articles