diff options
author | Ryunosuke SATO <tricknotes.rs@gmail.com> | 2013-01-05 00:50:06 +0900 |
---|---|---|
committer | Ryunosuke SATO <tricknotes.rs@gmail.com> | 2013-01-05 00:50:06 +0900 |
commit | fbb3e8ec136c08e3ff4aab5981a2297771728836 (patch) | |
tree | d04fcf4d51c42032c6969f078245287c3f944f44 /actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.erb | |
parent | 0cbc2406ea9a03161d7ce4de9cae5ba0800a80e5 (diff) | |
download | rails-fbb3e8ec136c08e3ff4aab5981a2297771728836.tar.gz rails-fbb3e8ec136c08e3ff4aab5981a2297771728836.tar.bz2 rails-fbb3e8ec136c08e3ff4aab5981a2297771728836.zip |
Remove unnecessary `ERB::Util::h`
It is automatically applied when strings is unsafe for html.
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.erb')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.erb index c5917b9acb..ca14215946 100644 --- a/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.erb +++ b/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.erb @@ -3,5 +3,5 @@ </header> <div id="container"> - <h2><%=h @exception.message %></h2> + <h2><%= @exception.message %></h2> </div> |