app/models/alchemy/page.rb in alchemy_cms-5.1.0.beta2 vs app/models/alchemy/page.rb in alchemy_cms-5.1.0.rc1

- old
+ new

@@ -162,9 +162,17 @@ # def url_path_class=(klass) @_url_path_class = klass end + def alchemy_resource_filters + %w[published not_public restricted] + end + + def searchable_alchemy_resource_attributes + %w[name urlname title] + end + # Used to store the current page previewed in the edit page template. # def current_preview=(page) RequestStore.store[:alchemy_current_preview] = page end