Skip to content

Commit 9305e7f

Browse files
committed
new way of referencing post_component
1 parent b66f304 commit 9305e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/getting-started/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ def create
995995
if @post.save
996996
ActionCable.server.broadcast('matestack_ui_core', {
997997
event: 'cable__created_post',
998-
data: matestack_component(:post_component, post: @post) # add this line
998+
data: post_component(post: @post) # add this line
999999
})
10001000
render json: {
10011001
message: 'Post was successfully created.'

0 commit comments

Comments
 (0)