From d6d81063148bfe0df498c71aa7190f442ef91356 Mon Sep 17 00:00:00 2001 From: Caio SBA Date: Mon, 23 Aug 2010 01:19:38 -0300 Subject: [PATCH] The home shows as portal news only the highlighted ones that are not listed above in the highlighted news --- app/controllers/public/home_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/public/home_controller.rb b/app/controllers/public/home_controller.rb index e6c43a1..9f85885 100644 --- a/app/controllers/public/home_controller.rb +++ b/app/controllers/public/home_controller.rb @@ -7,8 +7,8 @@ class HomeController < PublicController @news_cache_key = environment.portal_news_cache_key if !read_fragment(@news_cache_key) portal_community = environment.portal_community - @portal_news = portal_community.news(5) @highlighted_news = portal_community.news(2, true) + @portal_news = portal_community.news(7, true) - @highlighted_news @area_news = environment.portal_folders end end -- libgit2 0.21.2