app/views/pulitzer/posts/_show_slug.html.erb in pulitzer-0.15.25 vs app/views/pulitzer/posts/_show_slug.html.erb in pulitzer-0.15.26
- old
+ new
@@ -1,10 +1,10 @@
<div class="preview-link">
<% if @preview_path && post.preview_version&.publishable? %>
<%= link_to "Preview", @preview_path, target: '_blank' %>
<% else %>
<small>Preview not available.
- <% if !post.preview_version&.publishable? %>
+ <% if !post.preview_version.publishable? %>
<%= post.preview_version.missing_requirement_messages.join(', ') %>
<% end %>
</small>
<% end %>
</div>