app/helpers/works_helper.rb
def language_link(work)
    if work.respond_to?(:language) && work.language
      link_to work.language.name, work.language
    else
      "N/A"
    end
  end
# List of date, chapter and length info for the work show page
List of date, chapter and length info for the work show page
List of date chapter and length info for the work show page
def language_link(work)
    if work.respond_to?(:language) && work.language
      link_to work.language.name, work.language
    else
      "N/A"
    end
  end
def language_link ( work ) if work . respond_to? ( :language ) && work . language link_to work . language . name , work . language else "N/A" end end
List of date, chapter and length info for the work show page
List of date chapter and length info for the work show page
work