Skip to content

Commit

Permalink
Improve Router.live_session/3 docs (#2844)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanluptak authored Oct 4, 2023
1 parent 381fba2 commit 0943c3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/phoenix_live_view/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ defmodule Phoenix.LiveView.Router do
`live_redirect` from the client with navigation purely over the existing
websocket connection. This allows live routes defined in the router to
mount a new root LiveView without additional HTTP requests to the server.
For backwards compatibility reasons, all live routes defined outside
of any live session are considered part of an unnamed live session.
## Security Considerations
Expand Down

0 comments on commit 0943c3a

Please sign in to comment.