mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Improve trait name
This commit is contained in:
parent
0e460baf82
commit
a5516e3511
|
@ -4,7 +4,7 @@ namespace App\Http\Controllers\Api;
|
|||
|
||||
use App\Events\CheckoutableCheckedIn;
|
||||
use App\Http\Requests\StoreAssetRequest;
|
||||
use App\Http\Traits\MigratesLegacyLocations;
|
||||
use App\Http\Traits\MigratesLegacyAssetLocations;
|
||||
use App\Models\CheckoutAcceptance;
|
||||
use App\Models\LicenseSeat;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
@ -49,7 +49,7 @@ use Route;
|
|||
*/
|
||||
class AssetsController extends Controller
|
||||
{
|
||||
use MigratesLegacyLocations;
|
||||
use MigratesLegacyAssetLocations;
|
||||
|
||||
/**
|
||||
* Returns JSON listing of all assets
|
||||
|
|
|
@ -6,7 +6,7 @@ use App\Events\CheckoutableCheckedIn;
|
|||
use App\Helpers\Helper;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Http\Requests\AssetCheckinRequest;
|
||||
use App\Http\Traits\MigratesLegacyLocations;
|
||||
use App\Http\Traits\MigratesLegacyAssetLocations;
|
||||
use App\Models\Asset;
|
||||
use App\Models\CheckoutAcceptance;
|
||||
use App\Models\LicenseSeat;
|
||||
|
@ -17,7 +17,7 @@ use Illuminate\Support\Facades\View;
|
|||
|
||||
class AssetCheckinController extends Controller
|
||||
{
|
||||
use MigratesLegacyLocations;
|
||||
use MigratesLegacyAssetLocations;
|
||||
|
||||
/**
|
||||
* Returns a view that presents a form to check an asset back into inventory.
|
||||
|
|
|
@ -4,7 +4,7 @@ namespace App\Http\Traits;
|
|||
|
||||
use App\Models\Asset;
|
||||
|
||||
trait MigratesLegacyLocations
|
||||
trait MigratesLegacyAssetLocations
|
||||
{
|
||||
/**
|
||||
* This is just meant to correct legacy issues where some user data would have 0
|
Loading…
Reference in a new issue