diff --git a/app/models/comment.rb b/app/models/comment.rb index 80bb9196c..3e5c70273 100644 --- a/app/models/comment.rb +++ b/app/models/comment.rb @@ -8,7 +8,7 @@ class Comment < ActiveRecord::Base after_save :update_last_commented_at attr_accessible :body, :post_id attr_accessor :do_not_bump_post - + module SearchMethods def recent reorder("comments.id desc").limit(6) diff --git a/app/models/post.rb b/app/models/post.rb index 512fca6df..ffb22d4ff 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -102,7 +102,7 @@ class Post < ActiveRecord::Base def preview_file_url if is_flash? - return "/data/preview/150x150-flash.png" + return "/images/download-preview.png" end if Danbooru.config.ssd_path diff --git a/public/images/download-preview.png b/public/images/download-preview.png new file mode 100644 index 000000000..5a0cfa0b4 Binary files /dev/null and b/public/images/download-preview.png differ