lib/lookbook/page_collection.rb in lookbook-0.9.8 vs lib/lookbook/page_collection.rb in lookbook-1.0.0.beta.0

- old
+ new

@@ -2,9 +2,17 @@ class PageCollection < Collection def id generate_id("page-collection", lookup_path || "root") end + def label + "Pages" + end + + def type + :page_collection + end + def self.describe_as "pages" end end end