lib/simple_pages.rb in simple-pages-rails-0.2.0 vs lib/simple_pages.rb in simple-pages-rails-0.3.0
- old
+ new
@@ -2,10 +2,11 @@
require 'simple_pages/controllers/page_layout_at'
require 'simple_pages/models/page_attachment'
require 'simple_pages/models/page_author'
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::PageLayoutAt
@@ -20,9 +21,10 @@
mattr_accessor :page_table_name
@@page_table_name = 'simple_pages'
mattr_accessor :page_modules
@@page_modules = [
+ SimplePages::Models::PageUrl,
SimplePages::Models::PageOwner,
SimplePages::Models::PageLocale,
SimplePages::Models::PageAttachment
]