We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef2e7fd commit 98c7edcCopy full SHA for 98c7edc
src/Http/Controllers/SmartAdManagerController.php
@@ -42,6 +42,7 @@ public function store(StoreSmartAdRequest $request){
42
'image' => isset($imagePath) ? $imagePath : null,
43
'imageUrl' => $request->imageUrl,
44
'imageAlt' => $request->imageAlt,
45
+ 'enabled' => true,
46
'placements' => !empty(json_decode($request->placements)[0]->selector) ? $request->placements : null,
47
]);
48
return redirect("/smart-ad-manager/ads/{$smartAd->id}")->with(['message' => 'Ad Created', 'color' => 'green']);
0 commit comments