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

Using html_with_status on the error page #684

Merged
merged 1 commit into from
Sep 23, 2021
Merged

Using html_with_status on the error page #684

merged 1 commit into from
Sep 23, 2021

Conversation

jwoertink
Copy link
Member

Fixes #678

Technically fixes luckyframework/lucky#1575 too, though, I'm not sure if there's anything we can do about that conflicting with other people later...

…to not conflict with the named_arg in that marco. Fixes #678
@jwoertink
Copy link
Member Author

requires luckyframework/lucky#1581

@jwoertink jwoertink merged commit 9d8dad3 into master Sep 23, 2021
@jwoertink jwoertink deleted the issues/678 branch September 23, 2021 22:46
@@ -80,7 +80,7 @@ class Errors::Show < Lucky::ErrorAction

private def error_html(message : String, status : Int)
context.response.status_code = status
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line could be removed, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

html_with_status macro breaks on built-in Error page 404 pages return a 200 response
2 participants