aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-04-23 07:32:53 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-04-23 07:32:53 +0900
commitc991ebbc91ffaabf7452bd6364604dd524fc569d (patch)
tree785883b477a1e80db6f374aa0047b61677c825eb /actionpack
parent76acaf6eb9ef3635e4c6f2ca9dba34edb50f541d (diff)
downloadrails-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')
-rw-r--r--actionpack/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb2
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>