lib/simple_pages.rb in simple-pages-rails-0.3.1 vs lib/simple_pages.rb in simple-pages-rails-0.4.0

- old
+ new

@@ -1,16 +1,19 @@ require 'simple_pages/engine' +require 'simple_pages/controllers/page_cluster' require 'simple_pages/controllers/page_layout_at' require 'simple_pages/models/page_attachment' require 'simple_pages/models/page_author' +require 'simple_pages/models/page_cluster' require 'simple_pages/models/page_locale' require 'simple_pages/models/page_owner' require 'simple_pages/models/page_url' module SimplePages mattr_accessor :controller_modules @@controller_modules = [ + SimplePages::Controllers::PageCluster, SimplePages::Controllers::PageLayoutAt ] mattr_accessor :extra_page_layout @@extra_page_layout = [] @@ -24,9 +27,10 @@ mattr_accessor :page_modules @@page_modules = [ SimplePages::Models::PageUrl, SimplePages::Models::PageOwner, SimplePages::Models::PageLocale, + SimplePages::Models::PageCluster, SimplePages::Models::PageAttachment ] mattr_accessor :pages_per_page @@pages_per_page = 30