You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 31, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -229,7 +229,7 @@ class Contact extends Model
229
229
230
230
By default the Algolia package will fetch the **loaded** relashionships.
231
231
232
-
If you index records that didn't yet load any relations you can do it by loading them in the ```getAlgoliaRecord``` that you can create in your model.
232
+
If you want to index records that didn't yet load any relations you can do it by loading them in the ```getAlgoliaRecord``` that you can create in your model.
233
233
234
234
It will look like:
235
235
@@ -246,7 +246,7 @@ public function getAlgoliaRecord()
246
246
}
247
247
```
248
248
249
-
In the resulted object you will have categories converted to array by Laravel. If you a custom relation structure you will instead do something like :
249
+
In the resulted object you will have categories converted to array by Laravel. If you want a custom relation structure you will instead do something like :
0 commit comments