Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #179 from adjs/feature/fix_empty_method_table_render

only show parameters table if there are parameters
  • Loading branch information...
commit 36bee118a0ebb1f1c4516e3b4299f3cc4be4cd51 2 parents 634c32c + f980df0
@mansilladev mansilladev authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  views/api.jade
View
3  views/api.jade
@@ -96,8 +96,7 @@ block content
span.description !{method.Synopsis}
br
br
- //- if (method.parameters.length > 0)
- - if (method.parameters)
+ - if (method.parameters && method.parameters.length > 0)
table.parameters
thead
tr
Please sign in to comment.
Something went wrong with that request. Please try again.