public function show($id, $manualId)
    {
        $asset = $this->asset->find($id);

        $manual = $asset->manuals()->find($manualId);

        if ($manual) {
            return view('assets.manuals.show', compact('asset', 'manual'));
        }

        abort(404);
    }
public function show($id, $manualId)
    {
        $asset = $this->asset->find($id);

        $manual = $asset->manuals()->find($manualId);

        if ($manual) {
            return view('assets.manuals.show', compact('asset', 'manual'));
        }

        abort(404);
    }
public function show ( $ id , $ manualId ) { $ asset = $ this -> asset -> find ( $ id ) ; $ manual = $ asset -> manuals ( ) -> find ( $ manualId ) ; if ( $ manual ) { return view ( 'assets.manuals.show' , compact ( 'asset' , 'manual' ) ) ; } abort ( 404 ) ; }
Displays the asset manual.

@param int|string $id
@param int|string $manualId

@return \Illuminate\View\View
Displays the asset manual .