I’ve got 3 routes:
Obviously, “products” shows a list of product models while “products/:productID” shows the details of a product in the outlet of the “products” route. So far so good.
I’m now trying to add a “Cart block” to both routes, each time at the same position. If the Cart block could just be its own route with the model “order” and some actions like “addToCart” and “checkout” this would be perfect. However, I guess there’s no way to inject a route into others, is it?
In application.hbs are two outlets “left” and “right”. The products nested routes are rendered within left, while the cart should always show up in “right”.
How would you solve this problem the ember way?