Fixed generate typo in phx.gen.html and phx.gen.json docs #2420
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I noticed a very small typo getting re-acquainted with mix tasks under the
Web namespace
section (https://hexdocs.pm/phoenix/1.3.0/Mix.Tasks.Phx.Gen.Json.html#module-web-namespace) that appears to affect bothphx.gen.html
andphx.gen.json
. I looked for similar PR's to see if this was addressed recently and noticed #2406 also didn't cover both files, so I included that as well.