mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-27 14:39:49 -08:00
0a085af0a0
WIP: Wiring up more and more of the actions on the importer Files now upload okay, a little glitchy on the display-side though add to readmes so i dont forget
23 lines
568 B
PHP
23 lines
568 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Http\Transformers\ImportsTransformer;
|
|
use App\Models\Asset;
|
|
use App\Models\Import;
|
|
|
|
class ImportsController extends Controller
|
|
{
|
|
/**
|
|
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
|
* @throws \Illuminate\Auth\Access\AuthorizationException
|
|
*/
|
|
public function index()
|
|
{
|
|
$this->authorize('import');
|
|
// $imports = (new ImportsTransformer)->transformImports(Import::latest()->get());
|
|
|
|
return view('importer/import'); //->with('imports', $imports);
|
|
}
|
|
}
|