Fix markup

This commit is contained in:
aignatov-bio 2020-04-07 12:50:58 +02:00
parent e8325ea736
commit 9dfc652580
2 changed files with 10 additions and 8 deletions

View file

@ -1,3 +1,5 @@
/* eslint-disable no-param-reassign */
var MyModuleRepositories = (function() {
var SIMPLE_TABLE;

View file

@ -23,19 +23,19 @@ module RepositoryDatatableHelper
}
unless options[:view_mode]
row.merge({
row.merge(
'recordEditUrl': Rails.application.routes.url_helpers
.edit_repository_repository_row_path(
repository,
record.id
),
'recordUpdateUrl': Rails.application.routes.url_helpers
.repository_repository_row_path(
repository,
record.id
),
'recordEditable': record.editable?
})
'recordUpdateUrl': Rails.application.routes.url_helpers
.repository_repository_row_path(
repository,
record.id
),
'recordEditable': record.editable?
)
end
unless options[:skip_custom_columns]