diff --git a/app/views/versions/show.html.erb b/app/views/versions/show.html.erb index 82bd572..fc22a9f 100644 --- a/app/views/versions/show.html.erb +++ b/app/views/versions/show.html.erb @@ -32,7 +32,7 @@ <% end %>
-<%= render_issue_status_by(@version, params[:status_by]) if @version.fixed_issues.count > 0 %> +<%= render_issue_status_by(@version, params[:status_by]) if @version.fixed_issues.exists? %>