Update to change the home page to the book index page.
continuous-integration/drone/push Build is failing
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -35,6 +35,8 @@ defmodule DecentralisedBookIndexWeb.Router do
|
||||
scope "/", DecentralisedBookIndexWeb do
|
||||
pipe_through :browser
|
||||
|
||||
live "/", BookLive.Index, :index
|
||||
|
||||
live "/books", BookLive.Index, :index
|
||||
live "/books/new", BookLive.Index, :new
|
||||
live "/books/:id/edit", BookLive.Index, :edit
|
||||
@@ -73,7 +75,7 @@ defmodule DecentralisedBookIndexWeb.Router do
|
||||
scope "/", DecentralisedBookIndexWeb do
|
||||
pipe_through :browser
|
||||
|
||||
get "/", PageController, :home
|
||||
# get "/", PageController, :home
|
||||
auth_routes AuthController, DecentralisedBookIndex.Accounts.User, path: "/auth"
|
||||
sign_out_route AuthController
|
||||
|
||||
|
||||
Reference in New Issue
Block a user