Skip to content

Commit c62967e

Browse files
authored
Merge pull request #1208 from mcg-web/fix-has-any-role-doc
Fix hasAnyRole doc
2 parents cbe0def + fafbc35 commit c62967e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/definitions/expression-language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Checks whether the logged in user has at least one of the given roles.
242242

243243
Example:
244244
```yaml
245-
@=hasAnyRole('ROLE_API', 'ROLE_ADMIN')
245+
@=hasAnyRole(['ROLE_API', 'ROLE_ADMIN'])
246246
```
247247

248248
---

0 commit comments

Comments
 (0)