Don't allow lazy loading on development
This commit is contained in:
parent
34e22187dd
commit
40a9133a79
|
|
@ -93,6 +93,6 @@ class AppServiceProvider extends ServiceProvider
|
|||
User::observe(UserObserver::class);
|
||||
SeatingLimit::observe(SeatingLimitObserver::class);
|
||||
|
||||
//Model::preventLazyLoading(! app()->isProduction());
|
||||
Model::preventLazyLoading(! app()->isProduction());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue