diff --git a/app/views/content/_show.html.erb b/app/views/content/_show.html.erb index b926d473..4f77211d 100644 --- a/app/views/content/_show.html.erb +++ b/app/views/content/_show.html.erb @@ -20,6 +20,7 @@ <% content.class.attribute_categories.each do |category, data| %>
<% data[:attributes].each do |attribute| %> + <% next if attribute.start_with?("private") && @content.user != current_user %>
<%= attribute.humanize.capitalize %>