aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-03-25 20:11:51 +0900
committerGitHub <noreply@github.com>2017-03-25 20:11:51 +0900
commit296d024b4e91c4891ae0b010249193513e63b921 (patch)
treec8cdf76423884a3242493d05e4f29c5d9cb56db0
parente341d835070c7ef9990f41e02bbf46536be0aee7 (diff)
parent591891e51e7ee693bc41589c7cf1e651afbdfc37 (diff)
downloadrails-296d024b4e91c4891ae0b010249193513e63b921.tar.gz
rails-296d024b4e91c4891ae0b010249193513e63b921.tar.bz2
rails-296d024b4e91c4891ae0b010249193513e63b921.zip
Merge pull request #28569 from HarryCollins/patch-1
Update Action Cable README.md - typo fix [ci skip]
-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