diff --git a/README.md b/README.md index a1c9486..d50c3ea 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ class ArticleDeleteHandler < MartenTurbo::Handlers::RecordDelete success_route_name "articles" def turbo_stream - MartenTurbo::TurboStream.remove("article_1") + MartenTurbo::TurboStream.remove(record) end end ```