Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix issue #346

  • Loading branch information...
commit 0d26db239e5a3b0b16f98baa95eae460f62d7d86 1 parent 1f20af2
Didier Lafforgue authored Sergey Kuleshov committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/models/locomotive/page.rb
View
2  app/models/locomotive/page.rb
@@ -52,7 +52,7 @@ class Page
scope :published, :where => { :published => true }
scope :fullpath, lambda { |fullpath| { :where => { :fullpath => fullpath } } }
scope :handle, lambda { |handle| { :where => { :handle => handle } } }
- scope :minimal_attributes, lambda { |attrs = []| { :only => (attrs || []) + %w(title slug fullpath position depth published templatized redirect listed response_type parent_id site_id created_at updated_at) } }
+ scope :minimal_attributes, lambda { |attrs = []| { :only => (attrs || []) + %w(title slug fullpath position depth published templatized redirect listed response_type parent_id parent_ids site_id created_at updated_at) } }
scope :dependent_from, lambda { |id| { :where => { :template_dependencies.in => [id] } } }
## methods ##
Please sign in to comment.
Something went wrong with that request. Please try again.