-
Hi, Im trying to use the given Simple UI, but it gives an error with defmodule BookCrawlerWeb.Router do
use BookCrawlerWeb, :router
scope "/", BookCrawlerWeb do
pipe_through :browser
get "/", PageController, :home
forward "/admin", Crawly.API.Router # Crawly.API.Router is not available or is yet to be defined
end
end |
Beta Was this translation helpful? Give feedback.
Answered by
kasvith
Jan 21, 2024
Replies: 1 comment
-
it was a scope issue scope "/admin" do
pipe_through :browser
forward "/", Crawly.API.Router
end |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kasvith
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it was a scope issue