Skip to content

Commit f998e49

Browse files
authored
Remove host_id and host_type from event form
No longer necessary with setting event hosts in controller Signed-off-by: Robert Smith <[email protected]>
1 parent c035669 commit f998e49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<div class="container mt-5">
22
<h1 class="mb-4">New Event</h1>
3-
<%= render 'form', event: @event, host_id: @host_id, host_type: @host_type %>
4-
</div>
3+
<%= render 'form', event: @event %>
4+
</div>

0 commit comments

Comments
 (0)