diff --git a/content/tips/when-a-relationship-is-already-loaded-and-cached-on-the-model-instance-youll-have-to-refresh-it.md b/content/tips/when-a-relationship-is-already-loaded-and-cached-on-the-model-instance-youll-have-to-refresh-it.md index f2d00a7..8fd6e7b 100644 --- a/content/tips/when-a-relationship-is-already-loaded-and-cached-on-the-model-instance-youll-have-to-refresh-it.md +++ b/content/tips/when-a-relationship-is-already-loaded-and-cached-on-the-model-instance-youll-have-to-refresh-it.md @@ -9,6 +9,6 @@ created_at: 2020-09-21T16:42:13+00:00 slug: when-a-relationship-is-already-loaded-and-cached-on-the-model-instance-youll-have-to-refresh-it --- -`$domain->refresh();` to refresh its attributes +`$domain->refresh();` to refresh its attributes -`$tenant->load('primary_domain');` to update the `primary_domain` relationship on the $tenant instance \ No newline at end of file +`$tenant->load('primary_domain');` to update the `primary_domain` relationship on the $tenant instance