ObanChore.Router (ObanChore v0.3.4)

Copy Markdown View Source

Provides a macro to mount the ObanChore dashboard in your application's router.

Example

defmodule MyAppWeb.Router do
  use MyAppWeb, :router
  import ObanChore.Router

  scope "/" do
    pipe_through :browser
    oban_chore_dashboard "/ops/chores"
  end
end

Summary

Functions

oban_chore_dashboard(path, opts \\ [])

(macro)