aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/public_exceptions.rb
diff options
context:
space:
mode:
authorYoshiyuki Hirano <yhirano@me.com>2017-08-26 15:30:39 +0900
committerYoshiyuki Hirano <yhirano@me.com>2017-08-26 15:41:31 +0900
commit8c5ab21b25faa991de40fd7937387e20f0770d4b (patch)
tree2aded73e2f97105cbeefe11095cbce91dba70b0b /actionpack/lib/action_dispatch/middleware/public_exceptions.rb
parent14c1a9c5e3471decee9ad09b91024a4293f1b2c2 (diff)
downloadrails-8c5ab21b25faa991de40fd7937387e20f0770d4b.tar.gz
rails-8c5ab21b25faa991de40fd7937387e20f0770d4b.tar.bz2
rails-8c5ab21b25faa991de40fd7937387e20f0770d4b.zip
Use tt in doc for ActionPack [ci skip]
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/public_exceptions.rb')
-rw-r--r--actionpack/lib/action_dispatch/middleware/public_exceptions.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/public_exceptions.rb b/actionpack/lib/action_dispatch/middleware/public_exceptions.rb
index 02be97b4cc..3feb3a19f3 100644
--- a/actionpack/lib/action_dispatch/middleware/public_exceptions.rb
+++ b/actionpack/lib/action_dispatch/middleware/public_exceptions.rb
@@ -2,12 +2,12 @@
module ActionDispatch
# When called, this middleware renders an error page. By default if an HTML
- # response is expected it will render static error pages from the `/public`
+ # response is expected it will render static error pages from the <tt>/public</tt>
# directory. For example when this middleware receives a 500 response it will
- # render the template found in `/public/500.html`.
+ # render the template found in <tt>/public/500.html</tt>.
# If an internationalized locale is set, this middleware will attempt to render
- # the template in `/public/500.<locale>.html`. If an internationalized template
- # is not found it will fall back on `/public/500.html`.
+ # the template in <tt>/public/500.<locale>.html</tt>. If an internationalized template
+ # is not found it will fall back on <tt>/public/500.html</tt>.
#
# When a request with a content type other than HTML is made, this middleware
# will attempt to convert error information into the appropriate response type.