mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-06 15:40:31 +08:00
Fixed Hound warning. [SCI-1351]
This commit is contained in:
parent
1bc46fe0cb
commit
cea6d15d3e
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ class RepositoryRowsController < ApplicationController
|
||||||
existing.value.data = value
|
existing.value.data = value
|
||||||
unless existing.value.save
|
unless existing.value.save
|
||||||
errors[:repository_cells] << {
|
errors[:repository_cells] << {
|
||||||
"#{existing.repository_column_id}": existing.value.errors.messages
|
"#{existing.repository_column_id}":
|
||||||
|
existing.value.errors.messages
|
||||||
}
|
}
|
||||||
raise ActiveRecord::RecordInvalid
|
raise ActiveRecord::RecordInvalid
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue