From 5036ddb40148fc1cf83270a418a2b48de9acf611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hilton=20Gon=C3=A7alves?= <137075+hiltongoncalves@users.noreply.github.com> Date: Sat, 9 Oct 2021 17:43:27 -0300 Subject: [PATCH] Fix url for create user with photo --- resources/js/Pages/Users/Create.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/Pages/Users/Create.vue b/resources/js/Pages/Users/Create.vue index f8920dd..633daeb 100644 --- a/resources/js/Pages/Users/Create.vue +++ b/resources/js/Pages/Users/Create.vue @@ -56,7 +56,7 @@ export default { }, methods: { store() { - this.form.post(this.route('users.store')) + this.form.post(this.route('users.store').url()) }, }, }