Merge pull request #2 from hiltongoncalves/hiltongoncalves-patch-2
Fix user edit with upload photo
This commit is contained in:
commit
3ae300226f
|
@ -74,7 +74,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
update() {
|
||||
this.form.post(this.route('users.update', this.user.id), {
|
||||
this.form.post(this.route('users.update', this.user.id).url(), {
|
||||
onSuccess: () => this.form.reset('password', 'photo'),
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue