public function create($id)
    {
        $asset = $this->asset->model()->findOrFail($id);

        return view('assets.meters.create', compact('asset'));
    }
public function create($id)
    {
        $asset = $this->asset->model()->findOrFail($id);

        return view('assets.meters.create', compact('asset'));
    }
public function create ( $ id ) { $ asset = $ this -> asset -> model ( ) -> findOrFail ( $ id ) ; return view ( 'assets.meters.create' , compact ( 'asset' ) ) ; }
Displays the form for creating a new meter for the specified asset.

@param int|string $id

@return \Illuminate\View\View
Displays the form for creating a new meter for the specified asset .