Skip to content

Commit

Permalink
Docs: Fix Presence docs code typo (#3942)
Browse files Browse the repository at this point in the history
  • Loading branch information
njwest authored and chrismccord committed Sep 21, 2020
1 parent 4ee3484 commit c658485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/phoenix/presence.ex
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule Phoenix.Presence do
which uses `Phoenix.Presence` and provide the `:otp_app` which
holds your configuration, as well as the `:pubsub_server`.
defmodule MyApp.Presence do
defmodule MyAppWeb.Presence do
use Phoenix.Presence,
otp_app: :my_app,
pubsub_server: MyApp.PubSub
Expand All @@ -37,7 +37,7 @@ defmodule Phoenix.Presence do
children = [
...
MyAppWeb.PubSub,
{Phoenix.PubSub, name: MyApp.PubSub},
MyAppWeb.Presence,
MyAppWeb.Endpoint
]
Expand Down

0 comments on commit c658485

Please # to comment.