Level 7
Resolved. I've Misspelled the file name/
Hello,
I'm trying to upload file with form model binding in laravel 5.2. But it is not working I'm not getting file data in controller.
{!! Form::model($settings, ['route' => ['admin.settings.update', $settings->id], 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'PATCH', 'fiels' => true , 'id' => 'edit-settings']) !!}
<div class="form-group">
{!! Form::file('logo') !!}
</div>
{!! Form::close() !!}
In Controller I've properly imported Input Facades and trying to get file object like this.
$image = Input::all('logo');
But I'm getting name of the file and not total file object.
Please or to participate in this conversation.