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