Skip to content

Commit 591891e

Browse files
authored
Update Action Cable README.md - typo fix
1 parent 684de49 commit 591891e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actioncable/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module ApplicationCable
5353

5454
private
5555
def find_verified_user
56-
if current_user = User.find_by(id: cookies.signed[:user_id])
56+
if current_user == User.find_by(id: cookies.signed[:user_id])
5757
current_user
5858
else
5959
reject_unauthorized_connection

0 commit comments

Comments
 (0)