Update journal_papers_controller.rb

This commit is contained in:
chiu 2019-11-02 15:18:58 +08:00
parent ce79f199e5
commit 556840d567
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class Admin::JournalPapersController < OrbitMemberController
end end
def new def new
@member = MemberProfile.find_by(:uid=>params['uid']) rescue nil @member = Array(MemberProfile.find_by(:uid=>params['uid']) rescue nil)
@journal_paper = JournalPaper.new @journal_paper = JournalPaper.new
if params[:desktop] if params[:desktop]