forked from eatvio/eatvio-infra
same at 22.05.2023
This commit is contained in:
@@ -55,6 +55,13 @@ class PlanController extends Controller
|
||||
*/
|
||||
public function show(Plan $plan)
|
||||
{
|
||||
|
||||
$expiresAt = now()->addHours(24);
|
||||
|
||||
views($plan)
|
||||
->cooldown($expiresAt)
|
||||
->record();
|
||||
|
||||
$options1 = $this->unserializeOptions($plan->packet1_options);
|
||||
$options2 = $this->unserializeOptions($plan->packet2_options);
|
||||
$options3 = $this->unserializeOptions($plan->packet2_options);
|
||||
@@ -84,7 +91,7 @@ class PlanController extends Controller
|
||||
*/
|
||||
public function edit(Plan $plan)
|
||||
{
|
||||
//
|
||||
return view('plan/edit_form', ['plan' => $plan]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user