Skip to content

Commit 10c56cd

Browse files
committed
Prevent "soft 404" issues
1 parent 6ae34ed commit 10c56cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/strains/_strain_info.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
<% end %>
182182
</dl>
183183
<% end %>
184-
<% else # if @strain.strain_info_data.present? %>
184+
<% elsif !stand_alone # if @strain.strain_info_data.present? %>
185185
<dl class="jumbotron py-4 mb-3 mt-1 main-section name-details">
186186
<h4>
187187
<%= fa_icon('frown-open', type: 'far', class: 'mr-2') %>

0 commit comments

Comments
 (0)