Update tenant-config.blade.md (#70)

typo
This commit is contained in:
Nicolas Hedger 2020-08-18 23:04:49 +02:00 committed by GitHub
parent 3915af0d8d
commit 1f3a1d56bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ section: content
It's likely you will need to use tenant-specific config in your application. That config could be API keys, things like "products per page" and many other things.
You could just use the the tenant model to get these values, but you may still want to use Laravel's `config()` because of:
You could just use the tenant model to get these values, but you may still want to use Laravel's `config()` because of:
- separation of concerns — if you just write tenancy implementation-agnostic `config('shop.products_per_page')`, you will have a much better time changing tenancy implementations
- default values — you may want to use the tenant storage only to override values in your config file