質問編集履歴
1
コードの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -80,6 +80,28 @@
|
|
80
80
|
|
81
81
|
end
|
82
82
|
|
83
|
+
・
|
84
|
+
|
85
|
+
・
|
86
|
+
|
87
|
+
private
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
def order_params
|
92
|
+
|
93
|
+
params.require(:order).permit(
|
94
|
+
|
95
|
+
:amount,
|
96
|
+
|
97
|
+
:payment_status,
|
98
|
+
|
99
|
+
:delivery_status,
|
100
|
+
|
101
|
+
)
|
102
|
+
|
103
|
+
end
|
104
|
+
|
83
105
|
|
84
106
|
|
85
107
|
end
|