Update journal_paper.rb

try destroy
This commit is contained in:
chiu 2019-08-19 15:12:50 +08:00
parent 8ba1b730ed
commit a8db77e659
1 changed files with 7 additions and 7 deletions

View File

@ -159,13 +159,13 @@ class JournalPaper
# member_data.to_json
# end
# def save_journal_paper_files
# self.journal_paper_files.each do |t|
# if t.should_destroy
# t.destroy
# end
# end
# end
def save_journal_paper_files
self.journal_paper_files.each do |t|
if t.should_destroy
t.destroy
end
end
end
# def save_journal_paper_authors
# self.journal_paper_authors.each do |t|