質問編集履歴

1

id

2020/01/22 05:26

投稿

akairen
akairen

スコア18

test CHANGED
File without changes
test CHANGED
@@ -434,7 +434,7 @@
434
434
 
435
435
  if @post.save
436
436
 
437
- redirect_to("/users/#{@user_id}")
437
+ redirect_to("/users/#{@post.user_id}")
438
438
 
439
439
 
440
440