From 591891e51e7ee693bc41589c7cf1e651afbdfc37 Mon Sep 17 00:00:00 2001 From: HarryCollins Date: Sat, 25 Mar 2017 10:45:31 +0000 Subject: Update Action Cable README.md - typo fix --- actioncable/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actioncable') 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 -- cgit v1.2.3