aboutsummaryrefslogtreecommitdiffstats
path: root/app/decorators
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2013-12-25 19:43:27 +0100
committerHarald Eilertsen <haraldei@anduin.net>2013-12-25 19:43:27 +0100
commitc481bc81f38dc72d1293e27c74e9d1314472233c (patch)
tree05f32b2344cf5d6f8339d53f0399a4acfb8f3343 /app/decorators
parent65566d1134c544933d7bea1f7bfa1f50bd9f531f (diff)
downloadhmnoweb-c481bc81f38dc72d1293e27c74e9d1314472233c.tar.gz
hmnoweb-c481bc81f38dc72d1293e27c74e9d1314472233c.tar.bz2
hmnoweb-c481bc81f38dc72d1293e27c74e9d1314472233c.zip
Move the side_body stuff to the right sidebar.
Diffstat (limited to 'app/decorators')
-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