fix error msg when editing empty cell in repositories

This commit is contained in:
Mojca Lorber 2017-06-16 15:09:04 +02:00
parent 05ea00a5d3
commit 1b683bc70e

View file

@ -131,7 +131,7 @@ class RepositoryRowsController < ApplicationController
record_annotation_notification(@record, value.repository_cell)
else
errors[:repository_cells] << {
"#{cell.repository_column_id}": value.errors.messages
"#{column.id}": value.errors.messages
}
end
end