BUGFIX: show the draft on top page

This commit is contained in:
Régis Hanol
2014-02-06 11:39:43 +01:00
parent a710773bb4
commit 58202baa62
5 changed files with 36 additions and 5 deletions
+7
View File
@@ -0,0 +1,7 @@
class TopLists
include ActiveModel::Serialization
attr_accessor :draft, :draft_key, :draft_sequence
TopTopic.periods.each { |period| attr_accessor period }
end