forked from saurabh/personal-journal
removed author from frontend
This commit is contained in:
parent
6be7eea61f
commit
0ec7d850da
|
@ -5,7 +5,6 @@ class PersonalJournalsController < ApplicationController
|
|||
{
|
||||
"year" => journal_paper.year,
|
||||
"paper_title" => journal_paper.create_link,
|
||||
"author" => journal_paper.authors,
|
||||
"link_to_show" => OrbitHelper.url_to_show(journal_paper.to_param)
|
||||
}
|
||||
end
|
||||
|
@ -26,7 +25,6 @@ class PersonalJournalsController < ApplicationController
|
|||
plugin = JournalPaper.where(:is_hidden=>false).find_by(uid: params[:uid])
|
||||
fields_to_show = [
|
||||
"year",
|
||||
"author_name",
|
||||
"authors",
|
||||
"author_type",
|
||||
"paper_title",
|
||||
|
|
|
@ -51,7 +51,6 @@ class JournalPaper
|
|||
def create_link
|
||||
title = []
|
||||
|
||||
title << self.member_profile.name if self.member_profile_id.present?
|
||||
title << (!self.authors.blank? ? self.authors : nil)
|
||||
title << self.paper_title if self.paper_title.present?
|
||||
title << self.journal_title if self.journal_title.present?
|
||||
|
|
Loading…
Reference in New Issue