Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return redirect(route('frontend.user.account') . '#edit')->with(['tab' => 'edit']);
- public function update(UpdateProfileRequest $request)
- {
- $output = $this->userRepository->update(
- $request->user()->id,
- $request->only('first_name', 'last_name', 'email','national_Code','phone_number','mobile_number','state','city','address','postal_code', 'avatar_type', 'avatar_location'),
- $request->has('avatar_location') ? $request->file('avatar_location') : false
- );
- return redirect(route('frontend.user.account') . '#edit')->with(['tab' => 'edit']);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement