I looked at the documentation but couldn\'t find the answer there
Suppose I have a custom route in web.php that gets to a controller function that returns a view.Â
I need this view accessible only to silver and gold members but not to bronze members of a certain subscription ?
How can I do that ?
2 Answers
Hello,
We suggest creating a middleware that checks user current subscriptions, and if the current subscription is available then you pass the request , otherwise you can show your 403 page for example
Please login or Register to submit your answer