質問編集履歴

1

誤字

2020/01/03 05:23

投稿

soft_admin
soft_admin

スコア63

test CHANGED
File without changes
test CHANGED
@@ -12,9 +12,9 @@
12
12
 
13
13
  ```ruby
14
14
 
15
- cookies.permanent.signed[:user_id] = user.user_id
15
+ cookies.permanent.signed[:user_id] = user_id
16
16
 
17
- cookies.permanent[:login_token] = User.new_token
17
+ cookies.permanent[:login_token] = token
18
18
 
19
19
  ```
20
20