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