Add property related routes
This commit is contained in:
parent
4526435972
commit
465045bbb5
1 changed files with 6 additions and 0 deletions
|
@ -86,6 +86,12 @@ defmodule RealEstateWeb.Router do
|
||||||
pipe_through [:browser, :require_authenticated_user, :user]
|
pipe_through [:browser, :require_authenticated_user, :user]
|
||||||
|
|
||||||
live "/user_dashboard", UserDashboardLive, :index
|
live "/user_dashboard", UserDashboardLive, :index
|
||||||
|
|
||||||
|
live "/properties", PropertyLive.Index, :index
|
||||||
|
live "/properties/new", PropertyLive.Index, :new
|
||||||
|
live "/properties/:id/edit", PropertyLive.Index, :edit
|
||||||
|
live "/properties/:id", PropertyLive.Show, :show
|
||||||
|
live "/properties/:id/show/edit", PropertyLive.Show, :edit
|
||||||
end
|
end
|
||||||
|
|
||||||
scope "/", RealEstateWeb do
|
scope "/", RealEstateWeb do
|
||||||
|
|
Loading…
Reference in a new issue