Missing parentheses in doc
eximius313 opened this issue · 1 comments
eximius313 commented
Here: https://deadbolt-java.readme.io/docs/template-constraints
you have:
Scala
@subjectPresentOr {
this is protected
} {
this will be shown if the constraint blocks the other content
}
and should be:
Scala
@subjectPresentOr() {
this is protected
} {
this will be shown if the constraint blocks the other content
}
I'd also add example of MyDeadboltHandler
which can extend AbstractDeadboltHandler
for clarity (because I needed to look for example implementation in the source code)
schaloner commented
Docs updated, thanks for the report.