回答編集履歴

2

typo

2021/11/01 12:18

投稿

winterboum
winterboum

スコア23364

test CHANGED
@@ -4,12 +4,12 @@
4
4
 
5
5
 
6
6
 
7
- ちらっと見なので他にも、かもですが
7
+ ちらっと見なので他にもある、かもですが
8
8
 
9
9
  `<%= form_with model: @trainer, url: new_trainer_registration_path, `
10
10
 
11
11
  ここ。
12
12
 
13
- crateを呼ぶので trainer_registrations_path ではないかな。
13
+ createを呼ぶので trainer_registrations_path ではないかな。
14
14
 
15
15
  rails routes で確認を

1

追記

2021/11/01 12:17

投稿

winterboum
winterboum

スコア23364

test CHANGED
@@ -1,3 +1,15 @@
1
1
  `def after_sign_up_path_for(resource)`
2
2
 
3
3
  を定義してみてください
4
+
5
+
6
+
7
+ ちらっと見なので他にも、かもですが
8
+
9
+ `<%= form_with model: @trainer, url: new_trainer_registration_path, `
10
+
11
+ ここ。
12
+
13
+ crateを呼ぶので trainer_registrations_path ではないかな。
14
+
15
+ rails routes で確認を