From ffc2b56dffc36dc744968312ee5ed353d7c729f7 Mon Sep 17 00:00:00 2001 From: Luka Murn Date: Tue, 17 Jan 2017 08:28:41 +0100 Subject: [PATCH] Fix String quotes --- app/datatables/sample_datatable.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/datatables/sample_datatable.rb b/app/datatables/sample_datatable.rb index a022ef4eb..cbf933a14 100644 --- a/app/datatables/sample_datatable.rb +++ b/app/datatables/sample_datatable.rb @@ -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) }