Skip to content

Commit

Permalink
only show parameters table if there are parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
switzer committed Apr 14, 2014
1 parent 73551d0 commit f980df0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions views/api.jade
Expand Up @@ -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
Expand Down

0 comments on commit f980df0

Please sign in to comment.