diff --git a/app/models/page.rb b/app/models/page.rb index 42b15096..a5a06d51 100644 --- a/app/models/page.rb +++ b/app/models/page.rb @@ -43,7 +43,7 @@ class Page scope :not_found, :where => { :slug => '404', :depth => 0 } scope :published, :where => { :published => true } scope :fullpath, lambda { |fullpath| { :where => { :fullpath => fullpath } } } - scope :minimal_attributes, :only => %w(title slug fullpath position depth published templatized parent_id created_at updated_at) + scope :minimal_attributes, :only => %w(title slug fullpath position depth published templatized listed parent_id created_at updated_at) ## methods ##