app/helpers/works_helper.rb
def marked_for_later?(work)
    return unless current_user
    reading = Reading.find_by_work_id_and_user_id(work.id, current_user.id)
    reading && reading.toread?
  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 marked_for_later?(work)
    return unless current_user
    reading = Reading.find_by_work_id_and_user_id(work.id, current_user.id)
    reading && reading.toread?
  end
def marked_for_later? ( work ) return unless current_user reading = Reading . find_by_work_id_and_user_id ( work . id , current_user . id ) reading && reading . toread? 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