fix form redirection

This commit is contained in:
Ben Harris 2021-09-14 17:36:25 -04:00
parent d1a328f413
commit 8c7a90afc8
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<%= form_with model: @machine, data: { "turbo" => "false" } do |form| %>
<%= form_with model: @machine, local: true do |form| %>
<br>
<div>
<%= form.label :name %><br>

View File

@ -1,4 +1,4 @@
<%= form_with model: @player, data: { "turbo" => "false" } do |form| %>
<%= form_with model: @player, local: true do |form| %>
<br>
<div>
<%= form.label :name %><br>