Skip to content

Commit

Permalink
Make the 400 error template more generic
Browse files Browse the repository at this point in the history
  • Loading branch information
martinemde committed Aug 29, 2024
1 parent 9aff8e8 commit cad5a7f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions actionmailbox/test/dummy/public/400.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>The request parameters are malformed (400)</title>
<title>The request is malformed and cannot be processed (400)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
.rails-default-error-page {
Expand Down Expand Up @@ -58,8 +58,8 @@
<!-- This file lives in public/400.html -->
<div class="dialog">
<div>
<h1>The request parameters are malformed.</h1>
<p>Maybe the URL is malformed or required form data is missing.</p>
<h1>The server cannot process the request due to a client error.</h1>
<p>Please check the request and try again.</p>
</div>
<p>If you are the application owner check the logs for more information.</p>
</div>
Expand Down
6 changes: 3 additions & 3 deletions actiontext/test/dummy/public/400.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>The request parameters are malformed (400)</title>
<title>The request is malformed and cannot be processed (400)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
.rails-default-error-page {
Expand Down Expand Up @@ -58,8 +58,8 @@
<!-- This file lives in public/400.html -->
<div class="dialog">
<div>
<h1>The request parameters are malformed.</h1>
<p>Maybe the URL is malformed or required form data is missing.</p>
<h1>The server cannot process the request due to a client error.</h1>
<p>Please check the request and try again.</p>
</div>
<p>If you are the application owner check the logs for more information.</p>
</div>
Expand Down
6 changes: 3 additions & 3 deletions activestorage/test/dummy/public/400.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>The request parameters are malformed (400)</title>
<title>The request is malformed and cannot be processed (400)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
.rails-default-error-page {
Expand Down Expand Up @@ -58,8 +58,8 @@
<!-- This file lives in public/400.html -->
<div class="dialog">
<div>
<h1>The request parameters are malformed.</h1>
<p>Maybe the URL is malformed or required form data is missing.</p>
<h1>The server cannot process the request due to a client error.</h1>
<p>Please check the request and try again.</p>
</div>
<p>If you are the application owner check the logs for more information.</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>The request parameters are malformed (400)</title>
<title>The request is malformed and cannot be processed (400)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
.rails-default-error-page {
Expand Down Expand Up @@ -58,8 +58,8 @@
<!-- This file lives in public/400.html -->
<div class="dialog">
<div>
<h1>The request parameters are malformed.</h1>
<p>Maybe the URL is malformed or required form data is missing.</p>
<h1>The server cannot process the request due to a client error.</h1>
<p>Please check the request and try again.</p>
</div>
<p>If you are the application owner check the logs for more information.</p>
</div>
Expand Down

0 comments on commit cad5a7f

Please sign in to comment.