mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-30 07:58:28 +08:00
fix update repository_row
This commit is contained in:
parent
590135b9b3
commit
2dd9b6ff19
1 changed files with 1 additions and 0 deletions
|
|
@ -145,6 +145,7 @@ class RepositoryRowsController < ApplicationController
|
|||
else
|
||||
@record.repository_cells.each { |c| c.value.destroy }
|
||||
end
|
||||
raise ActiveRecord::Rollback if errors[:repository_cells].any?
|
||||
end
|
||||
|
||||
respond_to do |format|
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue