teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

2

typo

2021/11/01 12:18

投稿

winterboum
winterboum

スコア23653

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

1

追記

2021/11/01 12:17

投稿

winterboum
winterboum

スコア23653

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