From 8b845fdebe79c704b025fecbc9ee9823b930f045 Mon Sep 17 00:00:00 2001
From: Zee Spencer <50284+zspencer@users.noreply.github.com>
Date: Mon, 30 Jan 2023 15:36:51 -0800
Subject: [PATCH] BYO Domains: (WIP) Identify a few places where things are
shady
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
We probably want to figure out a better strategy for how we test the BYO
domains feature; perhaps there's a way to do it with the end-to-end
tests so that they run against a BYO-domained Space and a non-BYO
domained space in different github actions? I don't know 🤷
https://github.com/zinc-collective/convene/issues/74
---
app/views/furniture_placements/_new.html.erb | 4 ++--
app/views/rooms/_form.html.erb | 2 +-
app/views/rsvps/_pending.html.erb | 2 +-
app/views/spaces/edit.html.erb | 2 +-
app/views/utility_hookups/_form.html.erb | 2 +-
app/views/utility_hookups/new.html.erb | 2 +-
app/views/waiting_rooms/show.html.erb | 2 +-
7 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/app/views/furniture_placements/_new.html.erb b/app/views/furniture_placements/_new.html.erb
index 4a8c8c070..a1892c3fb 100644
--- a/app/views/furniture_placements/_new.html.erb
+++ b/app/views/furniture_placements/_new.html.erb
@@ -1,10 +1,10 @@
\ No newline at end of file
+
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| %>