Skip to content

Commit

Permalink
🧹 Room: Use Room#location in form (#1182)
Browse files Browse the repository at this point in the history
- #74
- Extracted from #1083
  • Loading branch information
zspencer authored Mar 4, 2023
1 parent 8a04b72 commit 8aba280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/rooms/_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= form_with model: [room.space, room], data: { controller: "room-form" }, local: true do |room_form| %>
<%= form_with model: room.location, data: { controller: "room-form" } do |room_form| %>
<fieldset>
<div>
<%= room_form.label :name %>
Expand Down

0 comments on commit 8aba280

Please sign in to comment.