回答編集履歴

1

修正

2020/06/21 15:24

投稿

asm
asm

スコア15149

test CHANGED
@@ -1,6 +1,14 @@
1
- > params[:session][:remember_me] == '1' ? remember(user) : forget(user)
1
+ `controllers/sessions_controller.rb`
2
2
 
3
+
4
+
5
+ ```ruby
6
+
7
+ params[:session][:remember_me] == '1' ? remember(user) : forget(user)
8
+
3
- > remember user
9
+ remember user
10
+
11
+ ```
4
12
 
5
13
 
6
14