app/Http/Controllers/RoleController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
      return view('theme.backoffice.pages.role.index', [
        'roles' => Role::all(),
      ]);
    }
public function index ( ) { return view ( 'theme.backoffice.pages.role.index' , [ 'roles' => Role :: all ( ) , ] ) ; }
Display a listing of the resource.
Display a listing of the resource .