Skip to content

Commit

Permalink
Update Action Cable README.md - typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryCollins committed Mar 25, 2017
1 parent 684de49 commit 591891e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actioncable/README.md
Expand Up @@ -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
Expand Down

0 comments on commit 591891e

Please sign in to comment.