Skip to content

Commit 7607516

Browse files
committed
Merge branch 'ken-tam-patch-1' into develop
2 parents 7cfe5ba + 4d22828 commit 7607516

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/columns/other-column-types.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,20 +142,20 @@ ButtonGroupColumn::make('Actions')
142142
->buttons([
143143
LinkColumn::make('View') // make() has no effect in this case but needs to be set anyway
144144
->title(fn($row) => 'View ' . $row->name)
145-
->location(fn($row) => route('user.show', $row)),
145+
->location(fn($row) => route('user.show', $row))
146146
->attributes(function($row) {
147147
return [
148148
'class' => 'underline text-blue-500 hover:no-underline',
149149
];
150150
}),
151151
LinkColumn::make('Edit')
152152
->title(fn($row) => 'Edit ' . $row->name)
153-
->location(fn($row) => route('user.edit', $row)),
153+
->location(fn($row) => route('user.edit', $row))
154154
->attributes(function($row) {
155155
return [
156156
'target' => '_blank',
157157
'class' => 'underline text-blue-500 hover:no-underline',
158158
];
159159
}),
160160
]),
161-
```
161+
```

0 commit comments

Comments
 (0)