-
Notifications
You must be signed in to change notification settings - Fork 106
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
Models #58
Comments
Hi, yes this is a possible solution. Other solutions could be
Giacomo |
Okay, my approach is:
Now, in the view or controller file, I just call those values like this in my controller:
As for the menu, I am using https://github.com/nWidart/laravel-menus/
Again, my laravel skills are pretty basic and I have no idea whether this is an efficient approach. Hope it helps. |
How should I use this tool if I have an application that shares the same database on all domains?
For example,
If i have this tables
Products
Settings
Menus
Would I need to add the domain as an id in each model and add a global scope to filter by domain?
The text was updated successfully, but these errors were encountered: