app/Http/Controllers/Admin/UserSettingsController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \SON\Models\User  $user
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(User $user)
    {
        $form = \FormBuilder::create(UserSettingsForm::class,[
            'url' => route('admin.users.settings.update'),
            'method' => 'PUT'
        ]);
        return view('admin.users.settings', compact('form'));
    }
public function edit ( User $ user ) { $ form = \ FormBuilder :: create ( UserSettingsForm :: class , [ 'url' => route ( 'admin.users.settings.update' ) , 'method' => 'PUT' ] ) ; return view ( 'admin.users.settings' , compact ( 'form' ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .