Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class SettingsController extends Controller |
||
17 | { |
||
18 | 2 | public function index() |
|
19 | { |
||
20 | 2 | $userObj = new GetUserDetails(Auth::user()->user_id); |
|
21 | |||
22 | 2 | return view('auth.settings', [ |
|
23 | 2 | 'userData' => $userObj->getUserData(), |
|
24 | 2 | 'userSett' => $userObj->getUserSettings(), |
|
25 | ]); |
||
26 | } |
||
27 | |||
28 | 2 | public function updateAccount(UserAccountRequest $request) |
|
32 | } |
||
33 | |||
34 | 2 | public function updateSettings(UserSettingsRequest $request) |
|
38 | } |
||
39 | |||
40 | 2 | public function changePassword(UserPasswordRequest $request) |
|
44 | } |
||
45 | } |
||
46 |