mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-08 00:23:01 +08:00
Fix String quotes
This commit is contained in:
parent
16955dcee6
commit
ffc2b56dff
1 changed files with 4 additions and 4 deletions
|
@ -111,11 +111,11 @@ class SampleDatatable < AjaxDatatablesRails::Base
|
||||||
'2': record.name,
|
'2': record.name,
|
||||||
'3': record.sample_type.nil? ? I18n.t('samples.table.no_type') : record.sample_type.name,
|
'3': record.sample_type.nil? ? I18n.t('samples.table.no_type') : record.sample_type.name,
|
||||||
'4': sample_group_cell(record),
|
'4': sample_group_cell(record),
|
||||||
"5": I18n.l(record.created_at, format: :full),
|
'5': I18n.l(record.created_at, format: :full),
|
||||||
"6": record.user.full_name,
|
'6': record.user.full_name,
|
||||||
"sampleInfoUrl":
|
'sampleInfoUrl':
|
||||||
Rails.application.routes.url_helpers.sample_path(record.id),
|
Rails.application.routes.url_helpers.sample_path(record.id),
|
||||||
"sampleUpdateUrl":
|
'sampleUpdateUrl':
|
||||||
Rails.application.routes.url_helpers.sample_path(record.id)
|
Rails.application.routes.url_helpers.sample_path(record.id)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue