aboutsummaryrefslogtreecommitdiffstats
path: root/app/decorators/controllers/refinery
diff options
context:
space:
mode:
Diffstat (limited to 'app/decorators/controllers/refinery')
-rw-r--r--app/decorators/controllers/refinery/pages_controller_decorator.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/decorators/controllers/refinery/pages_controller_decorator.rb b/app/decorators/controllers/refinery/pages_controller_decorator.rb
index cc30030..83b2433 100644
--- a/app/decorators/controllers/refinery/pages_controller_decorator.rb
+++ b/app/decorators/controllers/refinery/pages_controller_decorator.rb
@@ -12,6 +12,13 @@ ApplicationController.class_eval do
Refinery::Blog::Category.all.each do |c|
@sidebar_modules << SidebarBlogCategory.new(c)
end
+
+ #
+ # The blog categories and tags are listed in the right sidebar
+ # on every page.
+ #
+ find_all_blog_categories
+ find_tags
end
def populate_home_page
@@ -20,7 +27,5 @@ ApplicationController.class_eval do
# Makes sure everyting is in place for the home page view template.
#
find_all_blog_posts
- find_all_blog_categories
- find_tags
end
end