update for last commit
This commit is contained in:
@@ -113,10 +113,13 @@ class GuestController extends Controller
|
|||||||
$user->mobile = null;
|
$user->mobile = null;
|
||||||
}
|
}
|
||||||
if ($user->save()) {
|
if ($user->save()) {
|
||||||
|
return redirect()->back()->with('success', Lang::get('lang.Profile-Updated-sucessfully'));
|
||||||
} else {
|
} else {
|
||||||
|
return redirect()->back()->route('profile')->with('fails', Lang::get('lang.Profile-Updated-sucessfully'));
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
return redirect()->back()->route('profile')->with('fails', $e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user