Skip to content

Commit f04003e

Browse files
committed
wip
1 parent 2d2cfae commit f04003e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pennant.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,14 +364,18 @@ $user->features()->unless('new-api',
364364
<a name="blade-directive"></a>
365365
### Blade Directive
366366

367-
To make checking features in Blade a seamless experience, Pennant offers a `@feature` directive:
367+
To make checking features in Blade a seamless experience, Pennant offers the `@feature` and `@featureany` directive:
368368

369369
```blade
370370
@feature('site-redesign')
371371
<!-- 'site-redesign' is active -->
372372
@else
373373
<!-- 'site-redesign' is inactive -->
374374
@endfeature
375+
376+
@featureany(['site-redesign', 'beta'])
377+
<!-- 'site-redesign' or `beta` is active -->
378+
@endfeatureany
375379
```
376380

377381
<a name="middleware"></a>

0 commit comments

Comments
 (0)