We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd6f840 commit 9145b70Copy full SHA for 9145b70
docs/getting-started/quick-start.md
@@ -1315,8 +1315,6 @@ end
1315
1316
`app/matestack/twitter_clone/posts/index.rb`
1317
1318
-# todo: matestack_component
1319
-
1320
```ruby
1321
# ...
1322
@@ -1337,7 +1335,7 @@ def create
1337
1335
if @post.save
1338
1336
ActionCable.server.broadcast('matestack_ui_core', {
1339
event: 'cable__created_post',
1340
- data: matestack_component(:post_component, post: @post)
+ data: post_component(post: @post)
1341
})
1342
render json: {
1343
message: 'Post was successfully created.'
@@ -1662,8 +1660,6 @@ end
1662
1660
1663
1661
`app/controllers/posts_controller.rb`
1664
1665
1666
1667
1668
1669
0 commit comments