Permalink
Browse files

Merge pull request #7 from darrylkuhn/master

Resolve the Internal Server Error (500)
  • Loading branch information...
2 parents bd58894 + b78aba8 commit dbdd89b0214a27c61139788bb5b4bda318f070a9 @brandonmwest committed Aug 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 views/_parameters.haml
View
@@ -1,6 +1,6 @@
%ul.parameters
-param_count = 0
- -if m.parameters.length > 0
+ -if defined?(m.parameters.length) && m.parameters.length > 0
-m.parameters.each do |p|
-param_count=param_count+1

0 comments on commit dbdd89b

Please sign in to comment.