回答編集履歴

1

confirmations_controller.rbのコードを記載

2020/04/27 17:31

投稿

yoangelo
yoangelo

スコア8

test CHANGED
@@ -1,4 +1,22 @@
1
- winterboum 様の最初の回答(ベストアンサー)に加えて、
1
+ winterboum 様の最初の回答(ベストアンサー)
2
+
3
+ ```ruby
4
+
5
+ #users/confirmations_controller.rb
6
+
7
+ private
8
+
9
+ def after_confirmation_path_for(resource_name, resource)
10
+
11
+ sign_in(resource)
12
+
13
+ reviews_path
14
+
15
+ end
16
+
17
+ ```
18
+
19
+ に加えて、
2
20
 
3
21
 
4
22