This commit is contained in:
albert
2013-02-19 14:00:27 -05:00
parent b32f074022
commit 7817e571c3
3 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB