質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -69,3 +69,31 @@
|
|
69
69
|
|
70
70
|
|
71
71
|
初心者です。よろしくお願いいたします。
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
### 以下、追記。
|
76
|
+
|
77
|
+
InquiryMailerの使用箇所。
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
inquiry_controller.rb
|
82
|
+
|
83
|
+
```ここに言語を入力
|
84
|
+
|
85
|
+
class InquiryController < ApplicationController
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
def thanks
|
90
|
+
|
91
|
+
@inquiry = Inquiry.new(inquiry_params)
|
92
|
+
|
93
|
+
InquiryMailer.received_email(@inquiry).deliver
|
94
|
+
|
95
|
+
render :action => 'thanks'
|
96
|
+
|
97
|
+
end
|
98
|
+
|
99
|
+
```
|