質問編集履歴

1

message_tab.rbのupdateアクションの更新

2021/01/26 02:43

投稿

shunxile
shunxile

スコア26

test CHANGED
File without changes
test CHANGED
@@ -226,7 +226,9 @@
226
226
 
227
227
 
228
228
 
229
- def update
229
+ def updateupdate
230
+
231
+ @message = Message.find(params[:id])
230
232
 
231
233
  @message = Message.create(title: title, whom: whom, open_plan: open_plan, message: message, images: images, video: video, user_id: user_id)
232
234