Update journal_papers_controller.rb
This commit is contained in:
parent
4038f6fad5
commit
bca9b359d4
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue