refactor on deck to continue reading and show percentages on home

This commit is contained in:
Jared Turner
2020-05-20 10:38:23 +01:00
parent c35e840694
commit a2c7638141
3 changed files with 14 additions and 10 deletions

View File

@@ -325,7 +325,7 @@ class Title
@entries[idx + 1]
end
def get_on_deck_entry(username)
def get_continue_reading_entry(username)
in_progress_entries = @entries.select do |e|
load_progress(username, e.title) > 0
end