src/Http/Controllers/AttributeGroupsAdminController.php
public function index()
    {
        $models = $this->repository->all([], true);
        app('JavaScript')->put('models', $models);

        return view('attributes::admin.index-groups');
    }
public function index()
    {
        $models = $this->repository->all([], true);
        app('JavaScript')->put('models', $models);

        return view('attributes::admin.index-groups');
    }
public function index ( ) { $ models = $ this -> repository -> all ( [ ] , true ) ; app ( 'JavaScript' ) -> put ( 'models' , $ models ) ; return view ( 'attributes::admin.index-groups' ) ; }
List models.

@return \Illuminate\View\View
List models .