restrict intro page to copyright tags
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
class IntroPresenter
|
class IntroPresenter
|
||||||
def popular_tags
|
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
|
end
|
||||||
|
|
||||||
def each
|
def each
|
||||||
|
|||||||
Reference in New Issue
Block a user