Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Pow.Phoenix.RegistrationController not available? #22
I've followed the Getting Started (Phoenix) section in the README to the letter but when I 'fire up' the
but what about the
# scope "/", MyAppWeb do # pipe_through [:browser, :protected] # # # Add your protected routes here # end
what is that for?
Thank you so much for sharing this!
sorry to comment on this closed issue - but my scope did look like this
scope "/", PowWeb do pipe_through :browser pow_routes() get "/", PageController, :index end
and removing the PowWeb namespace did allow me to hit the registration/new url - but at the same time it did 'kill' the "/" url
so, it has to look like this:
scope "/" do pipe_through :browser pow_routes() get "/", PowWeb.PageController, :index end