aboutsummaryrefslogtreecommitdiffstats
path: root/app/decorators/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/decorators/controllers')
-rw-r--r--app/decorators/controllers/refinery/pages_controller_decorator.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/decorators/controllers/refinery/pages_controller_decorator.rb b/app/decorators/controllers/refinery/pages_controller_decorator.rb
index d93ae9d..2e972e9 100644
--- a/app/decorators/controllers/refinery/pages_controller_decorator.rb
+++ b/app/decorators/controllers/refinery/pages_controller_decorator.rb
@@ -19,6 +19,9 @@ ApplicationController.class_eval do
#
find_all_blog_categories
find_tags
+
+ # Load active banners
+ @banners = Refinery::Banners::Banner.active
end
def populate_home_page