mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
This commit is contained in:
commit
56582614b6
|
@ -10,7 +10,7 @@ use App\Models\Asset;
|
|||
use App\Models\Company;
|
||||
use App\Models\Import;
|
||||
use Artisan;
|
||||
use Illuminate\Support\Facades\Input;
|
||||
use Illuminate\Support\Facades\Request;
|
||||
use Illuminate\Support\Facades\Session;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use League\Csv\Reader;
|
||||
|
@ -41,7 +41,7 @@ class ImportController extends Controller
|
|||
{
|
||||
$this->authorize('import');
|
||||
if (!config('app.lock_passwords')) {
|
||||
$files = Input::file('files');
|
||||
$files = Request::file('files');
|
||||
$path = config('app.private_uploads').'/imports';
|
||||
$results = [];
|
||||
$import = new Import;
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
@foreach($custom_fieldsets AS $fieldset)
|
||||
<tr>
|
||||
<td>
|
||||
{{ link_to_route("fieldsets.show",$fieldset->name,['id' => $fieldset->id]) }}
|
||||
{{ link_to_route("fieldsets.show",$fieldset->name,['fieldset' => $fieldset->id]) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $fieldset->fields->count() }}
|
||||
|
|
Loading…
Reference in a new issue