diff --git a/lib/phoenix/pubsub.ex b/lib/phoenix/pubsub.ex index 8019d2dec..7add0bac5 100644 --- a/lib/phoenix/pubsub.ex +++ b/lib/phoenix/pubsub.ex @@ -91,7 +91,7 @@ defmodule Phoenix.PubSub do @doc """ Subscribes the caller to the PubSub adapter's topic. - * `server` - The Pid registered name of the server + * `pubsub` - The name of the pubsub system * `topic` - The topic to subscribe to, for example: `"users:123"` * `opts` - The optional list of options. See below.