diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-04-23 07:32:53 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-04-23 07:32:53 +0900 |
commit | c991ebbc91ffaabf7452bd6364604dd524fc569d (patch) | |
tree | 785883b477a1e80db6f374aa0047b61677c825eb /actionpack/lib/action_dispatch/middleware | |
parent | 76acaf6eb9ef3635e4c6f2ca9dba34edb50f541d (diff) | |
download | rails-c991ebbc91ffaabf7452bd6364604dd524fc569d.tar.gz rails-c991ebbc91ffaabf7452bd6364604dd524fc569d.tar.bz2 rails-c991ebbc91ffaabf7452bd6364604dd524fc569d.zip |
Use the same tag as other views to display the error message
Since other views use the `h2` tag, should also use `h2` on
`missing_exact_template.html.erb`.
https://github.com/rails/rails/blob/76acaf6eb9ef3635e4c6f2ca9dba34edb50f541d/actionpack/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb#L5
https://github.com/rails/rails/blob/76acaf6eb9ef3635e4c6f2ca9dba34edb50f541d/actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb#L11
https://github.com/rails/rails/blob/76acaf6eb9ef3635e4c6f2ca9dba34edb50f541d/actionpack/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb#L5
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb index 3621ea81de..76ab1691b5 100644 --- a/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb +++ b/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb @@ -3,7 +3,7 @@ </header> <div id="container"> - <h3><%= h @exception.message %></h3> + <h2><%= h @exception.message %></h2> <p class="summary"> <strong>NOTE!</strong><br> |