This commit is contained in:
r888888888
2014-02-18 15:02:11 -08:00
parent 0519c44821
commit 7f356a63b4

View File

@@ -1152,7 +1152,7 @@ class Post < ActiveRecord::Base
"tags" => tag_string,
"height" => image_height,
"file_size" => file_size,
"id" => id,
"id" => id
}
if Danbooru.config.can_user_see_post?(CurrentUser.user, self)