Update journal_papers_controller.rb

fix error
This commit is contained in:
chiu 2019-10-30 21:42:47 +08:00
parent 9b622b132a
commit 8d0dd85964
1 changed files with 1 additions and 2 deletions

View File

@ -96,8 +96,7 @@ class Admin::JournalPapersController < OrbitMemberController
end end
def edit def edit
@member = MemberProfile.find(@journal_paper.member_profile_id) @member = Array(MemberProfile.find(@journal_paper.member_profile_id))
puts [@journal_paper.inspect,'help',@member.inspect]
if params[:desktop] if params[:desktop]
render :layout => false render :layout => false
end end