質問編集履歴
1
情報の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -49,6 +49,7 @@
|
|
49
49
|
<%= form_for [@listing, @listing.reservations] do |f| %>
|
50
50
|
|
51
51
|
このように書い田理由は、reservations#updateのパスが以下のようになっていたためです。
|
52
|
+
ただ、私は以下のパスで、どのようにオブジェクトをform_forで渡せば良いのかがわかりません。
|
52
53
|
/listings/:listing_id/reservations/:id(.:format)
|
53
54
|
```
|
54
55
|
|