xshop icon indicating copy to clipboard operation
xshop copied to clipboard

Need to check invoke for lang

Open A1Gard opened this issue 5 months ago • 0 comments

Need to check this controllers and routes:

https://github.com/4xmen/xshop/blob/main/routes/web.php#L341

I have use some trick for other routes like this:

public function ticketLang($lang, Ticket $ticket)
{
    return $this->ticket($ticket);
}

public function ticket(Ticket $ticket)
{
    if ($ticket->customer_id != auth('customer')->id()) {
        return abort(403);
    }
    return view('website.ticket', compact('ticket'));
}

but I don't have any idea for this

A1Gard avatar Feb 06 '24 03:02 A1Gard