i defined a route as
Route::get('roundtables/{name}/tags/store',['as'=>'tags.store','uses'=>'TagController@store','middleware'=>['owner','auth']]);
In my view, i have a form in this url
<div class="col-md-3">
<div class="well">
{!! Form::open(['route'=>'tags.store','method'=>'GET']) !!}
<h2>New Tags</h2>
</div>
</div>
My problem is, how to get the id from url which is id '1' and passing into the form when user clicked submit.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2iXkzvz
via IFTTT
Aucun commentaire:
Enregistrer un commentaire