This commit is contained in:
albert
2011-06-21 17:29:58 -04:00
parent 2f1fdcb459
commit 9ac7f85f0b
4 changed files with 44 additions and 31 deletions

View File

@@ -1,13 +1,20 @@
module PostSets
class Base
def has_wiki?
false
is_single_tag?
end
def wiki_page
nil
end
def has_artist?
is_single_tag?
end
def artist
end
def presenter
@presenter ||= PostSetPresenter.new(self)
end
@@ -16,10 +23,6 @@ module PostSets
false
end
def tag
tag_string
end
def arbitrary_sql_order_clause(ids, table_name)
if ids.empty?
return "#{table_name}.id desc"