Skip to content

Commit 4cd075a

Browse files
committed
fixed collection docs
1 parent d4ca858 commit 4cd075a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/components/collection.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ class Pages::MyApp::Collection < Matestack::Ui::Page
127127

128128
async rerender_on: "my-first-collection-update" do
129129
partial :content
130-
partial :paginator #has to be placed within the `async` component!
131130
end
132131
}
133132
end
@@ -161,6 +160,7 @@ class Pages::MyApp::Collection < Matestack::Ui::Page
161160
end
162161
end
163162

163+
partial :paginator #has to be placed within the `collection_content` component!
164164
end
165165
}
166166
end
@@ -231,7 +231,6 @@ class Pages::MyApp::Collection < Matestack::Ui::Page
231231

232232
async rerender_on: "my-first-collection-update" do
233233
partial :content
234-
partial :paginator #has to be placed within the `async` component!
235234
end
236235
}
237236
end
@@ -283,6 +282,8 @@ class Pages::MyApp::Collection < Matestack::Ui::Page
283282
end
284283
end
285284

285+
partial :paginator #has to be placed within the `collection_content` component!
286+
286287
end
287288
}
288289
end

0 commit comments

Comments
 (0)