From 4038f6fad5bc2f7d3c9bcec94ab3d76295342208 Mon Sep 17 00:00:00 2001 From: chiu Date: Sat, 2 Nov 2019 14:36:14 +0800 Subject: [PATCH] Update journal_papers_controller.rb --- app/controllers/admin/journal_papers_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/admin/journal_papers_controller.rb b/app/controllers/admin/journal_papers_controller.rb index 6c7a4d3..188f7ec 100644 --- a/app/controllers/admin/journal_papers_controller.rb +++ b/app/controllers/admin/journal_papers_controller.rb @@ -153,7 +153,8 @@ class Admin::JournalPapersController < OrbitMemberController end def update - @member = @journal_paper.member_profile + @member = get_member(@journal_paper) + puts ['help',journal_paper_params] @journal_paper.update_attributes(journal_paper_params) @journal_paper.save if params[:desktop] == "true"