radiantcms-couchrest_model 0.2.2 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/standard_tags.rb +4 -2
- data/radiantcms-couchrest_model.gemspec +1 -1
- metadata +2 -2
data/app/models/standard_tags.rb
CHANGED
@@ -102,7 +102,8 @@ module StandardTags
|
|
102
102
|
}
|
103
103
|
tag 'children:each' do |tag|
|
104
104
|
options = children_find_options(tag)
|
105
|
-
result = []
|
105
|
+
#result = []
|
106
|
+
result=""
|
106
107
|
children = tag.locals.children
|
107
108
|
tag.locals.previous_headers = {}
|
108
109
|
kids = children.find(:all, options)
|
@@ -111,7 +112,8 @@ module StandardTags
|
|
111
112
|
tag.locals.page = item
|
112
113
|
tag.locals.first_child = i == 0
|
113
114
|
tag.locals.last_child = i == kids.length - 1
|
114
|
-
result << tag.expand
|
115
|
+
#result << tag.expand
|
116
|
+
result=result+tag.expand
|
115
117
|
end
|
116
118
|
result
|
117
119
|
end
|