lib/simple_pages.rb in simple-pages-rails-0.5.0 vs lib/simple_pages.rb in simple-pages-rails-0.6.0
- old
+ new
@@ -34,9 +34,15 @@
]
mattr_accessor :pages_per_page
@@pages_per_page = 30
+ mattr_accessor :permitted_fields
+ @@permitted_fields = [
+ :url, :title, :excerpt, :content, :owner, :published_at,
+ :layout_at, { cluster: [] }
+ ]
+
def self.configure
yield self
end
end