File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
docs/reactive_components/700-collection Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ class Shop::Pages::Products::Index < Matestack::Ui::Page
6565 @collection .paginated_data.each do |product |
6666 paragraph text: product.name
6767 end
68+ # pagination has to be placed within the collection_content!
69+ pagination
6870 end
69- # pagination has to be placed within the wrapping async!
70- pagination
7171 end
7272 end
7373
@@ -126,9 +126,9 @@ class Shop::Pages::Products::Index < Matestack::Ui::Page
126126 @collection .paginated_data.each do |product |
127127 paragraph text: product.name
128128 end
129+ # pagination has to be placed within the collection_content!
130+ pagination
129131 end
130- # pagination has to be placed within the wrapping async!
131- pagination
132132 end
133133
134134 end
@@ -199,9 +199,9 @@ class Shop::Pages::Products::Index < Matestack::Ui::Page
199199 @collection .paginated_data.each do |product |
200200 paragraph text: product.name
201201 end
202+ # pagination has to be placed within the collection_content!
203+ pagination
202204 end
203- # pagination has to be placed within the wrapping async!
204- pagination
205205 end
206206 end
207207
You can’t perform that action at this time.
0 commit comments