From 5b5662a146470bf5cc898bbbd69f7010f6f70503 Mon Sep 17 00:00:00 2001 From: Ryan Duryea Date: Tue, 8 Dec 2020 16:46:24 -0800 Subject: [PATCH] Fix 'udpate' => 'update' in collection guide --- docs/reactive_components/700-collection/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/reactive_components/700-collection/README.md b/docs/reactive_components/700-collection/README.md index beb2d0a7a..cccdaccc6 100644 --- a/docs/reactive_components/700-collection/README.md +++ b/docs/reactive_components/700-collection/README.md @@ -23,7 +23,7 @@ class Shop::Pages::Products::Index < Matestack::Ui::Page end def response - async id: 'product-collection', rerender_on: "#{@collection_id}-udpate" do + async id: 'product-collection', rerender_on: "#{@collection_id}-update" do collection_content @collection.config do @collection.data.each do |product| paragraph text: product.name @@ -59,7 +59,7 @@ class Shop::Pages::Products::Index < Matestack::Ui::Page end def response - async id: 'product-collection', rerender_on: "#{@collection_id}-udpate" do + async id: 'product-collection', rerender_on: "#{@collection_id}-update" do collection_content @collection.config do # now we use paginated_data! @collection.paginated_data.each do |product| @@ -120,7 +120,7 @@ class Shop::Pages::Products::Index < Matestack::Ui::Page def response filter - async id: 'product-collection', rerender_on: "#{@collection_id}-udpate" do + async id: 'product-collection', rerender_on: "#{@collection_id}-update" do collection_content @collection.config do # here we use paginated_data! @collection.paginated_data.each do |product| @@ -193,7 +193,7 @@ class Shop::Pages::Products::Index < Matestack::Ui::Page def response order - async id: 'product-collection', rerender_on: "#{@collection_id}-udpate" do + async id: 'product-collection', rerender_on: "#{@collection_id}-update" do collection_content @collection.config do # here we use paginated_data! @collection.paginated_data.each do |product|