From 92f488d04f12324613f17f3cadde3bc131d3f457 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 16 Feb 2014 19:29:19 +0100 Subject: Display published ads instead of active. This means that ads will only be shown between their start-publishin date, and their end-publishing date. They will also only be shown on the pages where they are enabled. This allows different ads on different pages, or ads only on some pages, while others completely without ads. --- app/decorators/controllers/refinery/pages_controller_decorator.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'app') diff --git a/app/decorators/controllers/refinery/pages_controller_decorator.rb b/app/decorators/controllers/refinery/pages_controller_decorator.rb index 2e972e9..d93ae9d 100644 --- a/app/decorators/controllers/refinery/pages_controller_decorator.rb +++ b/app/decorators/controllers/refinery/pages_controller_decorator.rb @@ -19,9 +19,6 @@ ApplicationController.class_eval do # find_all_blog_categories find_tags - - # Load active banners - @banners = Refinery::Banners::Banner.active end def populate_home_page -- cgit v1.2.3