refinerycms 0.9.5.23 → 0.9.5.24
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.5.
|
1
|
+
0.9.5.24
|
@@ -83,7 +83,7 @@ class Page < ActiveRecord::Base
|
|
83
83
|
include_associations = [:parts]
|
84
84
|
include_associations.push(:slugs) if self.class.methods.include? "find_one_with_friendly"
|
85
85
|
include_associations.push(:children) if include_children
|
86
|
-
find_all_by_parent_id(nil, :order => "position ASC", :include => include_associations)
|
86
|
+
find_all_by_parent_id(nil,:conditions => {:show_in_menu => true, :draft => false}, :order => "position ASC", :include => include_associations)
|
87
87
|
end
|
88
88
|
|
89
89
|
def [](part_title)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.5.
|
4
|
+
version: 0.9.5.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Resolve Digital
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2009-12-
|
14
|
+
date: 2009-12-09 00:00:00 +13:00
|
15
15
|
default_executable:
|
16
16
|
dependencies: []
|
17
17
|
|