removed author from frontend

This commit is contained in:
Harry Bomrah 2015-05-08 16:21:45 +08:00
parent 168e6b14bc
commit e736a9476d
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class PersonalBooksController < ApplicationController
plugin = Book.where(:is_hidden=>false).find_by(uid: params[:uid]) plugin = Book.where(:is_hidden=>false).find_by(uid: params[:uid])
fields_to_show = [ fields_to_show = [
"year", "year",
"author_name", "book_title",
"authors", "authors",
"book_paper_type", "book_paper_type",
"book_title", "book_title",

View File

@ -41,7 +41,7 @@ class Book
def create_link def create_link
title = [] title = []
title << self.member_profile.name if self.member_profile.present? # title << self.member_profile.name if self.member_profile.present?
title << self.authors if self.authors.present? title << self.authors if self.authors.present?
title << self.book_title if self.book_title.present? title << self.book_title if self.book_title.present?
title << self.extracted_chapters if self.extracted_chapters.present? title << self.extracted_chapters if self.extracted_chapters.present?