Update journal_papers_controller.rb
This commit is contained in:
parent
5f1bea1671
commit
0c1a4a7796
|
@ -65,7 +65,7 @@ class Admin::JournalPapersController < OrbitMemberController
|
||||||
end
|
end
|
||||||
|
|
||||||
def new
|
def new
|
||||||
@member = Array(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