Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
50 | public function update() |
||
51 | { |
||
52 | $this->validate([ |
||
53 | 'form.first_name' => 'max:50', |
||
54 | 'form.last_name' => 'max:50', |
||
55 | 'form.facebook' => 'max:50', |
||
56 | 'form.twitter' => 'max:50' |
||
57 | ]); |
||
58 | |||
59 | $this->form->update(); |
||
60 | |||
61 | return redirect() |
||
62 | ->route('user.account.index') |
||
63 | ->success('Your account has been updated successfully !'); |
||
64 | } |
||
66 |