Manga.Router (manga v0.1.0)

Copy Markdown View Source

Mounts the full (paged + strip) reader — the same route surface as Manhwa.Router.manhwa_reader/2, dispatched through Manga.ReaderController so each series renders in its saved reading mode (paged/double-page via fresco, scroll via the manhwa strip).

import Manga.Router

scope "/" do
  pipe_through [:browser, :require_auth]
  manga_reader "/reader/manga"
end

Accepts the same options as manhwa_reader/2 (:series_segments).

Summary

Functions

manga_reader(path, opts \\ [])

(macro)