Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to check invoke for lang #32

Closed
A1Gard opened this issue Feb 6, 2024 · 1 comment
Closed

Need to check invoke for lang #32

A1Gard opened this issue Feb 6, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@A1Gard
Copy link
Member

A1Gard commented Feb 6, 2024

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 A1Gard added the enhancement New feature or request label Feb 6, 2024
@amir1428
Copy link

nice

@A1Gard A1Gard closed this as completed Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants