Update journal_papers_controller.rb
This commit is contained in:
parent
ce79f199e5
commit
556840d567
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue