I found the answer. I will use a route filter.
Route::filter('multitenant', function(){
TenantScope::addTenant('user_id', Auth::user()->id);
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community