How to make Form::model with multiple parameter? i have example route like this. www.domain.com/product/2/product-attributes/3/edit in normal form i can do it like this:
<form method="POST" action="{{ route('product.{product}.product-attributes.update', [$product->id, $product-attribute->id ]) }}"> </form>
but if im trying to use laravelcolective/html Form::model() like this:
Form::model($productattributes, array('method' => 'POST', array('route' => array('product.{product}.product-attributes.update', [$product->id, $product-attribute->id ])))
i get an error array to string conversion...
==== UPDATE ==============
My Routes:
Route::resource('backend/product', 'Backend\ProductController');
Route::resource('backend/product/{product}/product-attributes', 'Backend\ProductAttributesController',['except' => ['index']]);
===== UPDATE 2 =========================
already solved but i will prove my route not wrong
php artisan route:list
