提交 67078199 编写于 作者: G Greg Molnar

use correct filename in example

closes #80
上级 98855fea
......@@ -175,7 +175,7 @@ This is a web notification channel that allows you to trigger client-side web no
streams:
```ruby
# app/channels/web_notifications.rb
# app/channels/web_notifications_channel.rb
class WebNotificationsChannel < ApplicationCable::Channel
def subscribed
stream_from "web_notifications_#{current_user.id}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册