I am trying to figure out a simple nested route that will give me the following hierarchy:
Products → Product → Product Prices. So I want a list of products , open a product and then display all the prices for the product. I figured something like this would work:
You mentioned that it couldn’t find the route products.product. That’s because it doesn’t exist. Resources don’t take the prefix of their parent resource. So in the above, product.productprices is a valid route name, but products.product is not. The name of the route is just product. So you can either just refer to it by product, or you can declare it as products.product.