Closed tpharaoh closed 8 years ago
I added Landlord::addTenant($tenantColumn, $tenantId) to the Authenticate middleware, since I wanted this on every authenticated page.
I get: Undefined variable: tenantColumn
$company = Company::first(); Landlord::addTenant('company_id', $company->id);
I added Landlord::addTenant($tenantColumn, $tenantId) to the Authenticate middleware, since I wanted this on every authenticated page.
I get: Undefined variable: tenantColumn