Skip to content

Commit

Permalink
Fix: fix title of 422 page (#3979)
Browse files Browse the repository at this point in the history
## Because
- The error code in the title accidentally says `500` instead of `422`


## This PR
- Changes it to 422


## Pull Request Requirements
<!-- Replace the whitespace between the square brackets with an 'x',
e.g. [x]. After you create the PR, they will become checkboxes that you
can click on. -->
- [x] I have thoroughly read and understand [The Odin Project
Contributing
Guide](https://github.com/TheOdinProject/theodinproject/blob/main/CONTRIBUTING.md)
- [x] The title of this PR follows the `keyword: brief description of
change` format, using one of the following keywords:
  - `Feature` - adds new or amends existing user-facing behavior
- `Chore` - changes that have no user-facing value, refactors,
dependency bumps, etc
  - `Fix` - bug fixes
-   [x] The `Because` section summarizes the reason for this PR
- [x] The `This PR` section has a bullet point list describing the
changes in this PR
- [x] I have verified all tests and linters pass after making these
changes.
  • Loading branch information
Asartea authored Jul 14, 2023
1 parent 6d888f4 commit 1f94cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/errors/unprocessable_entity.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= title('Unprocessable entity (500)') %>
<%= title('Unprocessable entity (422)') %>

<p class="text-base text-gold-600">422</p>
<h1 class="mt-4 text-5xl text-slate-900 font-bold">Unprocessable entity</h1>
Expand Down

0 comments on commit 1f94cee

Please sign in to comment.