diff --git a/app/views/queries/_form.html.erb b/app/views/queries/_form.html.erb index 3629906..90d7b78 100644 --- a/app/views/queries/_form.html.erb +++ b/app/views/queries/_form.html.erb @@ -1,4 +1,4 @@ -<%= form_with(model: @query, html: { class: 'grid gap-3' }) do |form| %> +<%= form_with(model: @query, html: { class: 'grid gap-3' }, url: queries_path, method: :post) do |form| %> <%= form.text_field :domain, label: false, placeholder: 'd53.co', required: true, autocomplete: "off", autocorrect: "off", autocapitalize: "off", spellcheck: "false", autofocus: @query&.domain.blank? %>