Rename 'popular' to 'latest'. First stab at 'Hot' tab.

This commit is contained in:
Robin Ward
2013-03-27 16:17:49 -04:00
parent d1945057fd
commit 36269cfbaa
52 changed files with 946 additions and 323 deletions

View File

@ -22,7 +22,7 @@ class Category < ActiveRecord::Base
after_create :create_category_definition
after_destroy :invalidate_site_cache
scope :popular, ->{ order('topic_count desc') }
scope :latest, ->{ order('topic_count desc') }
delegate :post_template, to: 'self.class'