提交 591891e5 编写于 作者: H HarryCollins 提交者: GitHub

Update Action Cable README.md - typo fix

上级 684de497
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册