mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fixed model name
This commit is contained in:
parent
1b5ef695f2
commit
3eb09871cf
|
@ -107,7 +107,7 @@ class AssetsController extends Controller
|
|||
$view->with('statuslabel_types', $statuslabel_types);
|
||||
|
||||
if (!is_null($model_id)) {
|
||||
$selected_model = AssetAssetModel::find($model_id);
|
||||
$selected_model = AssetModel::find($model_id);
|
||||
$view->with('selected_model', $selected_model);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue