mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-10 23:09:51 +08:00
fixed patch换成put方法
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<% end %>
|
||||
|
||||
<div class="box edit-laboratory-setting-container">
|
||||
<%= 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 %>
|
||||
|
||||
<div class="form-group px-2 setting-item">
|
||||
|
||||
Reference in New Issue
Block a user