Skip to content

Commit 8a0297f

Browse files
snrokixabbuh
authored andcommitted
Custom voter example, fix missing curly brace
| Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.6 / 2.7 / 3.0 | Fixed tickets |
1 parent 38ed15d commit 8a0297f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cookbook/security/voters_data_permission.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ edit a particular object. Here's an example implementation:
111111
}
112112
113113
break;
114-
114+
}
115+
115116
return false;
116117
}
117118
}

0 commit comments

Comments
 (0)