Skip to content

Commit 9145b70

Browse files
committed
converted some final remaining matestack_component references
1 parent fd6f840 commit 9145b70

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docs/getting-started/quick-start.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,8 +1315,6 @@ end
13151315

13161316
`app/matestack/twitter_clone/posts/index.rb`
13171317

1318-
# todo: matestack_component
1319-
13201318
```ruby
13211319
# ...
13221320

@@ -1337,7 +1335,7 @@ def create
13371335
if @post.save
13381336
ActionCable.server.broadcast('matestack_ui_core', {
13391337
event: 'cable__created_post',
1340-
data: matestack_component(:post_component, post: @post)
1338+
data: post_component(post: @post)
13411339
})
13421340
render json: {
13431341
message: 'Post was successfully created.'
@@ -1662,8 +1660,6 @@ end
16621660

16631661
`app/controllers/posts_controller.rb`
16641662

1665-
# todo: matestack_component
1666-
16671663
```ruby
16681664
# ...
16691665

0 commit comments

Comments
 (0)