From ff9960be6527abae20573738bbf7f5fe18d89e07 Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Thu, 13 Sep 2018 21:16:57 -0300 Subject: [PATCH] Fixing Product buttons action It were pointing to /product/id but needs to point to /product. --- resources/views/product/buttons.blade.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/product/buttons.blade.php b/resources/views/product/buttons.blade.php index 762700a..8236b64 100644 --- a/resources/views/product/buttons.blade.php +++ b/resources/views/product/buttons.blade.php @@ -4,17 +4,17 @@ @if ($product->user_id == \Auth::id()) -
+ @method('PATCH') - +
@endif -
+ @method('DELETE') - +