mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-28 02:27:57 +08:00
Fix hound warning [SCI-783]
This commit is contained in:
parent
fa1cf1f04d
commit
de8eed0a19
1 changed files with 4 additions and 1 deletions
|
@ -66,7 +66,10 @@ class CustomFieldsController < ApplicationController
|
|||
respond_to do |format|
|
||||
format.json do
|
||||
if @custom_field.destroy
|
||||
SamplesTable.update_samples_table_state(@del_custom_field, params[:custom_field][:column_index])
|
||||
SamplesTable.update_samples_table_state(
|
||||
@del_custom_field,
|
||||
params[:custom_field][:column_index]
|
||||
)
|
||||
render json: { status: :ok }
|
||||
else
|
||||
render json: { status: :unprocessable_entity }
|
||||
|
|
Loading…
Reference in a new issue