Closed Jmrich closed 8 years ago
'Landlord' => HipsterJazzbo\Landlord\LandlordServiceProvider::class,
must be added to the alias, and Facade changed to return 'HipsterJazzbo\Landlord\Landlord';
Why change the facade class name?
Only because it originally was as return 'HipsterJazzbo\LaravelMultiTenant\TenantScope'
and that directory doesn't exist
Sweet. Fixed that.
There is a documentation error. Docs say to use "use HipsterJazzbo\LaravelMultiTenant\Traits\BelongsToTenant;" but it returns error because directory doesn't exist. Correct usage based on current directory is "use HipsterJazzbo\Landlord\BelongsToTenant;"