Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Update Phoenix.Controller.action_fallback/1 documentation #5450

Merged
merged 1 commit into from
May 9, 2023

Conversation

mariusbutuc
Copy link
Contributor

Maintain consistency in the documentation examples between passing the status code to put_status/2 as either an integer or an atom.

Give preference here to the atom format since the HTTP code is visible when passing the template name to Phoenix.Controller.render/2.

Maintain consistency in the documentation examples between 
passing the status code to `put_status/2` as either an integer or an atom. 

Give preference here to the atom format since the HTTP code is visible when passing the template name to `Phoenix.Controller.render/2`.
@Gazler Gazler merged commit 39a0358 into phoenixframework:main May 9, 2023
@Gazler
Copy link
Member

Gazler commented May 9, 2023

Thanks <3

@mariusbutuc mariusbutuc deleted the patch-1 branch May 9, 2023 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants