mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-06 15:40:31 +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,
|
||||
'3': record.sample_type.nil? ? I18n.t('samples.table.no_type') : record.sample_type.name,
|
||||
'4': sample_group_cell(record),
|
||||
"5": I18n.l(record.created_at, format: :full),
|
||||
"6": record.user.full_name,
|
||||
"sampleInfoUrl":
|
||||
'5': I18n.l(record.created_at, format: :full),
|
||||
'6': record.user.full_name,
|
||||
'sampleInfoUrl':
|
||||
Rails.application.routes.url_helpers.sample_path(record.id),
|
||||
"sampleUpdateUrl":
|
||||
'sampleUpdateUrl':
|
||||
Rails.application.routes.url_helpers.sample_path(record.id)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue