akira / exq_ui

UI Dashboard for Exq, a job processing library for Elixir. Exq UI provides the UI dashboard to display stats on job processing.
Other
155 stars 74 forks source link

Error when getting root route with Phoenix 1.7 and Verified Routes #142

Closed alexfilatov closed 1 year ago

alexfilatov commented 1 year ago

When phoenix 1.7 with Verified Routes enabled, getting error when requesting /exq dashboard - helper here cannot get :root route https://github.com/akira/exq_ui/blob/master/lib/exq_ui_web/router/helpers.ex#L24

** (UndefinedFunctionError) function nil.exq_ui_path/2 is undefined

Root cause is use Phoenix.Router, helpers: false in MyAppWeb.router()

ananthakumaran commented 1 year ago

@alexfilatov could you try the branch https://github.com/akira/exq_ui/pull/143

alexfilatov commented 1 year ago

thank you so much @ananthakumaran!