I'm confused or been to much in the sun, I have the following situation when editing a product
http://app.dev/shops/1/products/2/edit
I added the /shops/1 in the URL because I need to know for what Shop I'm editing the Product.
Now in the Controller I need to know what Shop and Product we're talking about here. I'm using the following hidden input field to send the product_id to the update Controller
<input type="hidden" name="product" value="{{ $product->id }}">
But how do I get the shop_id to the Update Controller. What's the best way to go about this?
Thank you!