From 8aba280e9faa0f1fc7bf9d8736f0b2f0ccb1fcab Mon Sep 17 00:00:00 2001 From: Zee <50284+zspencer@users.noreply.github.com> Date: Fri, 3 Mar 2023 16:42:35 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20`Room`:=20Use=20`Room#location`?= =?UTF-8?q?=20in=20form=20(#1182)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - https://github.com/zinc-collective/convene/issues/74 - Extracted from https://github.com/zinc-collective/convene/pull/1083 --- app/views/rooms/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/rooms/_form.html.erb b/app/views/rooms/_form.html.erb index 1ea8e7aa9..554e312d6 100644 --- a/app/views/rooms/_form.html.erb +++ b/app/views/rooms/_form.html.erb @@ -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| %>