aboutsummaryrefslogtreecommitdiffstats
path: root/app/decorators
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2014-02-16 19:08:29 +0100
committerHarald Eilertsen <haraldei@anduin.net>2014-02-16 19:08:29 +0100
commit93421980d48b968b825922063c2dab9e9ee8cb4c (patch)
tree55ae390e4f8b7fe14a947e42615bf4cb0ba6e8d7 /app/decorators
parent434d1d3042c2cc6399068beff1d72d4917ac9804 (diff)
downloadhmnoweb-93421980d48b968b825922063c2dab9e9ee8cb4c.tar.gz
hmnoweb-93421980d48b968b825922063c2dab9e9ee8cb4c.tar.bz2
hmnoweb-93421980d48b968b825922063c2dab9e9ee8cb4c.zip
Add refinery-banners engine.
Diffstat (limited to 'app/decorators')
-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