aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDries Steenhouwer <steenhouwer.dries@gmail.com>2015-02-05 16:08:04 +0100
committerDries Steenhouwer <steenhouwer.dries@gmail.com>2015-02-05 16:08:04 +0100
commit1277f7634650f9525d8ffea679c47a15833cbc87 (patch)
tree84fe8286a35e3e8cf47fe4685d5ef01577634047 /lib
parentf94b05546856fbb0d8051226b47b9812f108a935 (diff)
downloadrefinerycms-pc_banners-1277f7634650f9525d8ffea679c47a15833cbc87.tar.gz
refinerycms-pc_banners-1277f7634650f9525d8ffea679c47a15833cbc87.tar.bz2
refinerycms-pc_banners-1277f7634650f9525d8ffea679c47a15833cbc87.zip
make homepage ready
Diffstat (limited to 'lib')
-rw-r--r--lib/page_extensions.rb32
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/page_extensions.rb b/lib/page_extensions.rb
index d28c10c..973c177 100644
--- a/lib/page_extensions.rb
+++ b/lib/page_extensions.rb
@@ -1,17 +1,17 @@
-# module Refinery
-# module Banners
-# module Extensions
-# module Page
-# module ClassMethods
-# def add_banners_relationship
-# has_and_belongs_to_many :banners, :class_name => '::Refinery::Banners::Banner', :join_table => 'refinery_banners_pages'
-# end
-# end
+module Refinery
+ module Banners
+ module Extensions
+ module Page
+ module ClassMethods
+ def add_banners_relationship
+ has_and_belongs_to_many :banners, :class_name => '::Refinery::Banners::Banner', :join_table => 'refinery_banners_pages'
+ end
+ end
-# def self.included(base)
-# base.extend(ClassMethods).add_banners_relationship
-# end
-# end
-# end
-# end
-# end \ No newline at end of file
+ def self.included(base)
+ base.extend(ClassMethods).add_banners_relationship
+ end
+ end
+ end
+ end
+end \ No newline at end of file