dillingham / formation

Laravel search, sort, and filters
MIT License
0 stars 0 forks source link

add responses #9

Closed dillingham closed 2 years ago

dillingham commented 2 years ago
public function show(Customer $customer)
{
    return Inertia::render('Customers/Show', [
        'customer' => new CustomerResource($customer),
    ]);
}
public function show(CustomerFormation $formation)
{
    return $formation->inertia('Customer/Show');
}
public function show(CustomerFormation $formation)
{
    return $formation->view('customers.show');
}