app/Http/Controllers/UsuarioController.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()
    {
        $empresa =null;
        $usuario = null;
        $roles = Role::orderBy('name')->get()->pluck('name', 'name');
        return view('usuario.form', compact('empresa', 'usuario', 'roles'));
    }
public function create ( ) { $ empresa = null ; $ usuario = null ; $ roles = Role :: orderBy ( 'name' ) -> get ( ) -> pluck ( 'name' , 'name' ) ; return view ( 'usuario.form' , compact ( 'empresa' , 'usuario' , 'roles' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .