aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/README.md
diff options
context:
space:
mode:
authorHarryCollins <harrycollins86@gmail.com>2017-03-25 10:45:31 +0000
committerGitHub <noreply@github.com>2017-03-25 10:45:31 +0000
commit591891e51e7ee693bc41589c7cf1e651afbdfc37 (patch)
tree56288d99222c130db628cfc7ca5096fe13a6ae68 /actioncable/README.md
parent684de497a8c60c9cb367ff2e3657fb785c2a35ea (diff)
downloadrails-591891e51e7ee693bc41589c7cf1e651afbdfc37.tar.gz
rails-591891e51e7ee693bc41589c7cf1e651afbdfc37.tar.bz2
rails-591891e51e7ee693bc41589c7cf1e651afbdfc37.zip
Update Action Cable README.md - typo fix
Diffstat (limited to 'actioncable/README.md')
-rw-r--r--actioncable/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/README.md b/actioncable/README.md
index c55b7dc57b..55e79fc580 100644
--- a/actioncable/README.md
+++ b/actioncable/README.md
@@ -53,7 +53,7 @@ module ApplicationCable
private
def find_verified_user
- if current_user = User.find_by(id: cookies.signed[:user_id])
+ if current_user == User.find_by(id: cookies.signed[:user_id])
current_user
else
reject_unauthorized_connection