Partial sitemap

This commit is contained in:
Christophe Vilayphiou committed 2012-07-27 19:13:39 +08:00
1 parent 12f9f666eb
commit db9c4c0e10
7 files changed
+390 -40

No files matched your search

+1
View File
@@ -11,6 +11,7 @@ class Item
field :enabled_for, :type => Array, :default => nil
field :menu_enabled_for, :type => Array, :default => nil
field :title, localize: true
field :sitemap_enabled, :type => Boolean, :default => true
validates_format_of :name, :with => /^[0-9a-zA-Z\-_]+$/