From e4823c2d187c538e59248ac08c8cfc5a4a85a453 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Tue, 15 Aug 2023 17:17:21 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20patch=E6=8D=A2=E6=88=90put=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/admins/laboratory_settings/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admins/laboratory_settings/show.html.erb b/app/views/admins/laboratory_settings/show.html.erb index f30e92b8f..8cf2d4cbf 100644 --- a/app/views/admins/laboratory_settings/show.html.erb +++ b/app/views/admins/laboratory_settings/show.html.erb @@ -4,7 +4,7 @@ <% end %>
- <%= simple_form_for(@laboratory, url: admins_laboratory_laboratory_setting_path(@laboratory), method: 'patch', html: { enctype: 'multipart/form-data' }) do |f| %> + <%= simple_form_for(@laboratory, url: admins_laboratory_laboratory_setting_path(@laboratory), method: 'put', html: { enctype: 'multipart/form-data' }) do |f| %> <% setting = @laboratory.laboratory_setting %>