Skip to content

Commit

Permalink
Remove count usage for now due to vapor/leaf-kit#85
Browse files Browse the repository at this point in the history
  • Loading branch information
ffried committed Dec 8, 2020
1 parent c212fc7 commit 046ea54
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/RouteDocs/DefaultDocsView/doc_documentation.leaf
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
<div id="endpoint-content-#import("groupID")-#(index)" class="collapse" aria-labelledby="endpoint-header-#import("groupID")-#(index)" data-parent="\##import("accordionID")-#import("groupID")">
<div class="card-body">
#if(!doc.query || doc.query.body.isEmpty):
#if(!doc.request || count(doc.request.objects) <= 0):
#if(!doc.response || count(doc.response.objects) <= 0):
#if(!doc.request):
<!-- if(!doc.request || count(doc.request.objects) <= 0): -->
#if(!doc.response):
<!-- if(!doc.response || count(doc.response.objects) <= 0): -->
<p class="card-text text-body">
<em>This request has no query or body and returns no response (usually a HTTP 204).</em>
</p>
Expand Down

0 comments on commit 046ea54

Please sign in to comment.