Update journal_papers_controller.rb

This commit is contained in:
chiu 2019-11-02 14:46:54 +08:00
parent 4038f6fad5
commit bca9b359d4
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ class Admin::JournalPapersController < OrbitMemberController
def update def update
@member = get_member(@journal_paper) @member = get_member(@journal_paper)
puts ['help',journal_paper_params] journal_paper_params['member_profile_id'] = params[:author_members]
@journal_paper.update_attributes(journal_paper_params) @journal_paper.update_attributes(journal_paper_params)
@journal_paper.save @journal_paper.save
if params[:desktop] == "true" if params[:desktop] == "true"