This commit is contained in:
Toks
2014-05-25 14:50:07 -04:00
parent 6630bd9a41
commit 5f12a5e555
7 changed files with 11 additions and 11 deletions

View File

@@ -11,7 +11,7 @@
<%= render "post_sets/blank" %>
<% end %>
<% @posts.select {|x| Danbooru.config.can_user_see_post?(CurrentUser.user, x)}.each do |post| %>
<% @posts.select {|x| x.visible?}.each do |post| %>
<div id="post_<%= post.id %>" class="post <%= PostPresenter.preview_class(post) %>" <%= PostPresenter.data_attributes(post) %>>
<div class="preview">
<% if post.visible? %>