質問編集履歴
1
reception.update!(item)を追加させて頂きました
test
CHANGED
File without changes
|
test
CHANGED
@@ -15,6 +15,8 @@
|
|
15
15
|
month_params.each do |id,item|
|
16
16
|
|
17
17
|
reception = Reception.find(id)
|
18
|
+
|
19
|
+
reception.update!(item)
|
18
20
|
|
19
21
|
end
|
20
22
|
|
@@ -52,6 +54,8 @@
|
|
52
54
|
|
53
55
|
reception = Reception.find(id)
|
54
56
|
|
57
|
+
reception.update!(item)
|
58
|
+
|
55
59
|
flash[:notice] = "指定日の受付に成功しました"
|
56
60
|
|
57
61
|
redirect_to @user and return
|