Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/column-types/boolean_columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ BooleanColumn::make('Active', 'status')
->toggleable('changeStatus'),
```

Then your "changeStatus" method may look like
Then your "changeStatus" method may look like (make sure you are selecting the `id` in the query)
```php
public function changeStatus(int $id)
{
Expand All @@ -108,7 +108,7 @@ BooleanColumn::make('Active', 'status')
->toggleable('changeStatus'),
```

Then your "changeStatus" method may look like
Then your "changeStatus" method may look like (make sure you are selecting the `id` in the query)
```php
public function changeStatus(int $id)
{
Expand Down