From 26c866839e5ba2b1c045655dfdc7c4323cd9be6e Mon Sep 17 00:00:00 2001 From: Carlos Morais + Eduardo Morais Date: Mon, 2 Apr 2012 17:06:37 -0300 Subject: [PATCH] [mezuro] Range comments when threre is no range --- plugins/mezuro/views/content_viewer/_module_result.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mezuro/views/content_viewer/_module_result.rhtml b/plugins/mezuro/views/content_viewer/_module_result.rhtml index 9b08885..1bd21c1 100644 --- a/plugins/mezuro/views/content_viewer/_module_result.rhtml +++ b/plugins/mezuro/views/content_viewer/_module_result.rhtml @@ -29,7 +29,7 @@ " style="display: none;"> - <%= range.comments.nil? ? 'comment empty' : range.comments %> + <%= range.nil? or range.comments.nil? ? 'comment empty' : range.comments %> <% end %> -- libgit2 0.21.2