app/Http/Controllers/RolesController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $role=Role::all();;
        return view('role.create',compact('role'));
    }
public function create ( ) { $ role = Role :: all ( ) ; ; return view ( 'role.create' , compact ( 'role' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .