I am following a tutorials with laravel 5.6 and dropzone box for uploading images. this is my form,
<form method="post" action=""
enctype="multipart/form-data" class="dropzone" id="my-dropzone">
<div class="dz-message">
<div class="col-xs-8">
<div class="message">
<p>Drop files here or Click to Upload</p>
</div>
</div>
</div>
<div class="fallback">
<input type="file" name="file" multiple>
</div>
</form>
//submission link
<a class="navbar-brand" href="">Upload</a>
and My routes is like this,
Route::get('/', 'UploadImagesController@create');
Route::post('/images-save', 'UploadImagesController@store');
any way above codes working well but I can't understand how this submission link work with routes, can you anybody describe how works this link with above routes.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire