Permalink
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...
2 parents 634c32c + f980df0 commit 36bee118a0ebb1f1c4516e3b4299f3cc4be4cd51 @mansilladev mansilladev committed Apr 29, 2014
Showing with 1 addition and 2 deletions.
  1. +1 −2 views/api.jade
View
@@ -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

0 comments on commit 36bee11

Please sign in to comment.