Remove detail() presenter
This commit is contained in:
parent
ce2babcafb
commit
c6c3ddba3e
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue