aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Molnar <molnargerg@gmail.com>2015-10-03 19:47:54 +0200
committerGreg Molnar <molnargerg@gmail.com>2015-10-03 19:47:54 +0200
commit6707819986796cbfeaafb7ac31e6f12cd3735b1e (patch)
tree8ef3676aaaea32ba982c26d98b5a1d017431fb0d
parent98855fea634aa1c427c18841cf14fa3777201c4b (diff)
downloadrails-6707819986796cbfeaafb7ac31e6f12cd3735b1e.tar.gz
rails-6707819986796cbfeaafb7ac31e6f12cd3735b1e.tar.bz2
rails-6707819986796cbfeaafb7ac31e6f12cd3735b1e.zip
use correct filename in example
closes #80
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index fc74a084a9..a9eb6ecb85 100644
--- a/README.md
+++ b/README.md
@@ -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}"