mirror of
https://github.com/hkalexling/Mango.git
synced 2026-03-20 00:00:48 -04:00
Move relevant methods from Title to Entry
This commit is contained in:
@@ -80,7 +80,7 @@ class APIRouter < Router
|
||||
if !entry_id.nil?
|
||||
entry = title.get_entry(entry_id).not_nil!
|
||||
raise "incorrect page value" if page < 0 || page > entry.pages
|
||||
title.save_progress username, entry.title, page
|
||||
entry.save_progress username, page
|
||||
elsif page == 0
|
||||
title.unread_all username
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user