mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Remove detail() presenter
This commit is contained in:
parent
ce2babcafb
commit
c6c3ddba3e
|
@ -194,8 +194,6 @@ class AssetsController extends Controller
|
|||
|
||||
if ($asset = Asset::withTrashed()->find($id)) {
|
||||
$this->authorize('view', $asset);
|
||||
|
||||
$asset = $asset->present()->detail();
|
||||
return (new AssetsTransformer)->transformAsset($asset);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue