* Refactor user settings page

* Change default route to posts#index
* Add footer to intro page
* Change promotion report to exclude deleted posts
This commit is contained in:
r888888888
2013-07-09 17:47:29 -07:00
parent 87eabe3b00
commit a4911e3f65
6 changed files with 41 additions and 28 deletions

View File

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