Update journal_papers_helper.rb
This commit is contained in:
parent
b6c8726191
commit
1b1eb7042c
|
@ -1,6 +1,6 @@
|
|||
module Admin::JournalPapersHelper
|
||||
def get_member(journal)
|
||||
Array(MemberProfile.find(journal.collect(&:member_profile_id)))
|
||||
Array(MemberProfile.find(Array(journal).collect(&:member_profile_id)))
|
||||
end
|
||||
def get_level_type(journal)
|
||||
!journal.journal_levels.blank? ? "(#{journal.journal_levels.collect(&:title).join(', ')})" : nil
|
||||
|
|
Loading…
Reference in New Issue