Skip to content

Commit 9c1211c

Browse files
Issue #148 fixed
1 parent e42ed7a commit 9c1211c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/Webkul/Admin/src/Database/Seeders/AttributeSeeder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ public function run()
222222
'sort_order' => '2',
223223
'is_required' => '0',
224224
'is_unique' => '0',
225-
'quick_add' => '0',
225+
'quick_add' => '1',
226226
'is_user_defined' => '0',
227227
'created_at' => $now,
228228
'updated_at' => $now,

packages/Webkul/Admin/src/Http/Controllers/Product/ProductController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ public function index()
4343
/**
4444
* Store a newly created resource in storage.
4545
*
46+
* @param \Webkul\Attribute\Http\Requests\AttributeForm $request
4647
* @return \Illuminate\Http\Response
4748
*/
48-
public function store()
49+
public function store(AttributeForm $request)
4950
{
5051
Event::dispatch('product.create.before');
5152

0 commit comments

Comments
 (0)