mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-02 13:12:13 +08:00
refactor
This commit is contained in:
parent
2dd9b6ff19
commit
7367435c6d
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ class RepositoryRowsController < ApplicationController
|
|||
}
|
||||
end
|
||||
end
|
||||
raise ActiveRecord::Rollback if errors[:repository_cells].any?
|
||||
end
|
||||
# Clean up empty cells, not present in updated record
|
||||
@record.repository_cells.each do |cell|
|
||||
|
|
Loading…
Reference in a new issue