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
@@ -238,7 +238,7 @@ If you want to index records that didn't yet load any relations you can do it by
238
238
239
239
It will look like:
240
240
241
-
```
241
+
```php
242
242
public function getAlgoliaRecord()
243
243
{
244
244
/**
@@ -253,7 +253,7 @@ public function getAlgoliaRecord()
253
253
254
254
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