@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 ofitems
, when I click on one I transition to theitem
route which shows me all the info for that oneitem
. I also have abids
resource but the way the bids will be worked with is always from anitem
route. So placing a bid happens on anitem
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