Fix hound warning [SCI-783]

This commit is contained in:
Oleksii Kriuchykhin 2016-12-14 15:27:24 +01:00
parent fa1cf1f04d
commit de8eed0a19

View file

@ -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 }