public function index()
    {
        $navbar = $this->presenter->navbar();

        $assets = $this->presenter->table($this->asset);

        return view('assets.index', compact('assets', 'navbar'));
    }
public function index()
    {
        $navbar = $this->presenter->navbar();

        $assets = $this->presenter->table($this->asset);

        return view('assets.index', compact('assets', 'navbar'));
    }
public function index ( ) { $ navbar = $ this -> presenter -> navbar ( ) ; $ assets = $ this -> presenter -> table ( $ this -> asset ) ; return view ( 'assets.index' , compact ( 'assets' , 'navbar' ) ) ; }
Displays all assets.

@return \Illuminate\View\View
Displays all assets .