Update journal_papers_helper.rb
This commit is contained in:
parent
e9feed00ba
commit
1f56a3ae60
|
@ -1,6 +1,6 @@
|
||||||
module Admin::JournalPapersHelper
|
module Admin::JournalPapersHelper
|
||||||
def get_authors_text(journal)
|
def get_authors_text(journal)
|
||||||
journal.authors.to_s.blank? ? get_member(journal).join('/') : Nokogiri::HTML(journal.authors.to_s).text
|
journal.authors.to_s.blank? ? get_member(journal).collect(&:name).join('/') : Nokogiri::HTML(journal.authors.to_s).text
|
||||||
end
|
end
|
||||||
def get_authors_show(journal)
|
def get_authors_show(journal)
|
||||||
journal.authors.to_s.blank? ? get_member(journal).collect(&:name).join('/') : (journal.authors.to_s)
|
journal.authors.to_s.blank? ? get_member(journal).collect(&:name).join('/') : (journal.authors.to_s)
|
||||||
|
|
Loading…
Reference in New Issue