@@ -23,7 +23,7 @@ class Shop::Pages::Products::Index < Matestack::Ui::Page
2323 end
2424
2525 def response
26- async id: ' product-collection' , rerender_on: " #{ @collection_id } -udpate " do
26+ async id: ' product-collection' , rerender_on: " #{ @collection_id } -update " do
2727 collection_content @collection .config do
2828 @collection .data.each do |product |
2929 paragraph text: product.name
@@ -59,7 +59,7 @@ class Shop::Pages::Products::Index < Matestack::Ui::Page
5959 end
6060
6161 def response
62- async id: ' product-collection' , rerender_on: " #{ @collection_id } -udpate " do
62+ async id: ' product-collection' , rerender_on: " #{ @collection_id } -update " do
6363 collection_content @collection .config do
6464 # now we use paginated_data!
6565 @collection .paginated_data.each do |product |
@@ -120,7 +120,7 @@ class Shop::Pages::Products::Index < Matestack::Ui::Page
120120
121121 def response
122122 filter
123- async id: ' product-collection' , rerender_on: " #{ @collection_id } -udpate " do
123+ async id: ' product-collection' , rerender_on: " #{ @collection_id } -update " do
124124 collection_content @collection .config do
125125 # here we use paginated_data!
126126 @collection .paginated_data.each do |product |
@@ -193,7 +193,7 @@ class Shop::Pages::Products::Index < Matestack::Ui::Page
193193
194194 def response
195195 order
196- async id: ' product-collection' , rerender_on: " #{ @collection_id } -udpate " do
196+ async id: ' product-collection' , rerender_on: " #{ @collection_id } -update " do
197197 collection_content @collection .config do
198198 # here we use paginated_data!
199199 @collection .paginated_data.each do |product |
0 commit comments