restrict intro page to copyright tags

This commit is contained in:
r888888888 2013-06-24 15:57:47 -07:00
parent 6897733aab
commit d93c2c3546

View File

@ -1,6 +1,6 @@
class IntroPresenter
def popular_tags
Tag.where("category in (3, 4)").order("post_count desc").limit(8).map(&:name)
Tag.where("category = 3").order("post_count desc").limit(12).map(&:name)
end
def each