neiam
/apollos_crib
It's Apollo's Crib
public · Issues · Pulls 1 · Labels · Forks · Compare · Actions failure · Badges · Packages
⭐
Log in to mark this repository.
make /p/ acshually public
0dd45ab · gmorell · 2023-06-20 01:04
Files changed
modified
apps/room_sanctum/lib/room_sanctum_web/router.ex
+4
−5
@@ -23,8 +23,12 @@ defmodule RoomSanctumWeb.Router do
| 23 | 23 | scope "/", RoomSanctumWeb do |
| 24 | 24 | pipe_through [:browser] |
| 25 | 25 | live "/", LandingLive.Index, :index |
| 26 | + live_session :public, root_layout: {RoomSanctumWeb.LayoutView, :root_public} do | |
| 27 | + live "/p/p/:name", PythiaeLive.Public, :show | |
| 28 | + end | |
| 26 | 29 | end |
| 27 | 30 | |
| 31 | + | |
| 28 | 32 | scope "/", RoomSanctumWeb do |
| 29 | 33 | pipe_through [:browser, :require_authenticated_user] |
| 30 | 34 |
@@ -73,11 +77,6 @@ defmodule RoomSanctumWeb.Router do
| 73 | 77 | live "/cfg/scribus/:id", ScribusLive.Show, :show |
| 74 | 78 | live "/cfg/scribus/:id/show/edit", ScribusLive.Show, :edit |
| 75 | 79 | |
| 76 | − | |
| 77 | − live_session :public, root_layout: {RoomSanctumWeb.LayoutView, :root_public} do | |
| 78 | − live "/p/p/:name", PythiaeLive.Public, :show | |
| 79 | − end | |
| 80 | − | |
| 81 | 80 | if Mix.env() == :dev do |
| 82 | 81 | |
| 83 | 82 | live "/storage/gtfs/agencies", AgencyLive.Index, :index |
Parents: 5c42b1f