aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 50055fba10..f9c31c240f 100644
--- a/README.md
+++ b/README.md
@@ -52,7 +52,7 @@ module ApplicationCable
protected
def find_verified_user
- if current_user = User.find cookies.signed[:user_id]
+ if current_user = User.find(cookies.signed[:user_id])
current_user
else
reject_unauthorized_connection