app/views/concepts/show_published.html.erb in iqvoc-4.8.2 vs app/views/concepts/show_published.html.erb in iqvoc-4.9.0
- old
+ new
@@ -1,9 +1,9 @@
<%= render 'header', :concept => @concept %>
<%= render 'concepts/sidebars/singular', :concept => @concept %>
<% if @new_concept_version.blank? && can?(:branch, @concept) %>
- <% if @jobs.any? %>
+ <% if @jobs && @jobs.any? %>
<%= render partial: 'partials/concept/reverse_match_notice', locals: {concept: @concept, jobs: @jobs} %>
<% end %>
<div class="editing_versioning_toolbar well">
<%= button_to t("txt.views.versioning.versioning_mode"),
concept_versions_branch_path(:origin => @concept.origin), :class => "btn btn-default" %>