From bca9b359d46edbf0541959106556350c39607de7 Mon Sep 17 00:00:00 2001 From: chiu Date: Sat, 2 Nov 2019 14:46:54 +0800 Subject: [PATCH] Update journal_papers_controller.rb --- app/controllers/admin/journal_papers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/journal_papers_controller.rb b/app/controllers/admin/journal_papers_controller.rb index 188f7ec..546accf 100644 --- a/app/controllers/admin/journal_papers_controller.rb +++ b/app/controllers/admin/journal_papers_controller.rb @@ -154,7 +154,7 @@ class Admin::JournalPapersController < OrbitMemberController def update @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.save if params[:desktop] == "true"