From 989989bda79ef53ebd0bd9bb77e41ec4b1728982 Mon Sep 17 00:00:00 2001 From: KodeStar Date: Fri, 9 Feb 2018 17:24:05 +0000 Subject: [PATCH] fix uploads --- app/Http/Controllers/ItemController.php | 2 +- resources/views/items/form.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/ItemController.php b/app/Http/Controllers/ItemController.php index 6c575b43b..92d8f5a4a 100644 --- a/app/Http/Controllers/ItemController.php +++ b/app/Http/Controllers/ItemController.php @@ -192,7 +192,7 @@ public function update(Request $request, $id) 'title' => 'required|max:255', 'url' => 'required', ]); - + //die(print_r($request->all())); if($request->hasFile('file')) { $path = $request->file('file')->store('icons'); $request->merge([ diff --git a/resources/views/items/form.blade.php b/resources/views/items/form.blade.php index bb4ef8578..8110c93b0 100644 --- a/resources/views/items/form.blade.php +++ b/resources/views/items/form.blade.php @@ -47,7 +47,7 @@
- +