From f9be80f51c07e4fff3cde3d42ceb85c3a85d823e Mon Sep 17 00:00:00 2001 From: Nihad Abbasov <narkoz.2008@gmail.com> Date: Mon, 4 Mar 2013 13:06:06 +0400 Subject: add prompt to 422 page to check logs --- guides/code/getting_started/public/422.html | 5 +++-- railties/lib/rails/generators/rails/app/templates/public/422.html | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/guides/code/getting_started/public/422.html b/guides/code/getting_started/public/422.html index b75cc2fd6c..0b64eb4ae9 100644 --- a/guides/code/getting_started/public/422.html +++ b/guides/code/getting_started/public/422.html @@ -3,7 +3,7 @@ <head> <title>The change you wanted was rejected (422)</title> <style> - body + body { background-color: #efefef; color: #2E2F30; @@ -31,7 +31,7 @@ } body>p { - width: 33em; + width: 33em; margin: 0 auto 1em; padding: 1em 0; background-color: #f7f7f7; @@ -53,5 +53,6 @@ <h1>The change you wanted was rejected.</h1> <p>Maybe you tried to change something you didn't have access to.</p> </div> + <p>If you are the application owner check the logs for more information.</p> </body> </html> diff --git a/railties/lib/rails/generators/rails/app/templates/public/422.html b/railties/lib/rails/generators/rails/app/templates/public/422.html index ed58409a27..f1f32b83ae 100644 --- a/railties/lib/rails/generators/rails/app/templates/public/422.html +++ b/railties/lib/rails/generators/rails/app/templates/public/422.html @@ -3,7 +3,7 @@ <head> <title>The change you wanted was rejected (422)</title> <style> - body + body { background-color: #efefef; color: #2E2F30; @@ -31,7 +31,7 @@ } body>p { - width: 33em; + width: 33em; margin: 0 auto 1em; padding: 1em 0; background-color: #f7f7f7; @@ -53,5 +53,6 @@ <h1>The change you wanted was rejected.</h1> <p>Maybe you tried to change something you didn't have access to.</p> </div> + <p>If you are the application owner check the logs for more information.</p> </body> </html> -- cgit v1.2.3