hipsterjazzbo / Landlord

A simple, single database multi-tenancy solution for Laravel 5.2+
MIT License
613 stars 138 forks source link

Documentation error #1

Closed Jmrich closed 8 years ago

Jmrich commented 8 years ago

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;"

Jmrich commented 8 years ago

'Landlord' => HipsterJazzbo\Landlord\LandlordServiceProvider::class, must be added to the alias, and Facade changed to return 'HipsterJazzbo\Landlord\Landlord';

hipsterjazzbo commented 8 years ago

Why change the facade class name?

Jmrich commented 8 years ago

Only because it originally was as return 'HipsterJazzbo\LaravelMultiTenant\TenantScope' and that directory doesn't exist

hipsterjazzbo commented 8 years ago

Sweet. Fixed that.