Skip to content

Commit

Permalink
Fix phx.gen.socket moduledoc grammar and example path (#5769)
Browse files Browse the repository at this point in the history
* Fix grammar and punctuation

* Fix incorrect example path for umbrella app

---------

Co-authored-by: Juan P Barrios <juan@ogpss.com>
  • Loading branch information
03juan and 03juan authored Apr 2, 2024
1 parent 7aea049 commit 2c5da88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/mix/tasks/phx.gen.socket.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ defmodule Mix.Tasks.Phx.Gen.Socket do
$ mix phx.gen.socket User
Accepts the module name for the socket
Accepts the module name for the socket.
The generated files will contain:
Expand All @@ -18,9 +18,9 @@ defmodule Mix.Tasks.Phx.Gen.Socket do
For an umbrella application:
* a client in `apps/my_app_web/assets/js`
* a socket in `apps/my_app_web/lib/app_name_web/channels`
* a socket in `apps/my_app_web/lib/my_app_web/channels`
You can then generated channels with `mix phx.gen.channel`.
You can then generate channels with `mix phx.gen.channel`.
"""
use Mix.Task

Expand Down

0 comments on commit 2c5da88

Please sign in to comment.