Remove detail() presenter

This commit is contained in:
snipe 2017-02-23 17:01:01 -08:00
parent ce2babcafb
commit c6c3ddba3e

View file

@ -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);
}