removed author from frontend

This commit is contained in:
Harry Bomrah 2015-05-08 16:24:54 +08:00
parent 6be7eea61f
commit 0ec7d850da
2 changed files with 0 additions and 3 deletions

View File

@ -5,7 +5,6 @@ class PersonalJournalsController < ApplicationController
{ {
"year" => journal_paper.year, "year" => journal_paper.year,
"paper_title" => journal_paper.create_link, "paper_title" => journal_paper.create_link,
"author" => journal_paper.authors,
"link_to_show" => OrbitHelper.url_to_show(journal_paper.to_param) "link_to_show" => OrbitHelper.url_to_show(journal_paper.to_param)
} }
end end
@ -26,7 +25,6 @@ class PersonalJournalsController < ApplicationController
plugin = JournalPaper.where(:is_hidden=>false).find_by(uid: params[:uid]) plugin = JournalPaper.where(:is_hidden=>false).find_by(uid: params[:uid])
fields_to_show = [ fields_to_show = [
"year", "year",
"author_name",
"authors", "authors",
"author_type", "author_type",
"paper_title", "paper_title",

View File

@ -51,7 +51,6 @@ class JournalPaper
def create_link def create_link
title = [] title = []
title << self.member_profile.name if self.member_profile_id.present?
title << (!self.authors.blank? ? self.authors : nil) title << (!self.authors.blank? ? self.authors : nil)
title << self.paper_title if self.paper_title.present? title << self.paper_title if self.paper_title.present?
title << self.journal_title if self.journal_title.present? title << self.journal_title if self.journal_title.present?