aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2015-05-04 14:43:41 +0200
committerRobin Dupret <robin.dupret@gmail.com>2015-05-04 14:43:41 +0200
commita8aa8b7fc37784b36a41834af0272907bb07eeb8 (patch)
treebbd108de68e35b956d61b7057492c430b776e616 /actionpack
parent21c74bd769f6c873453e9244b0de7ced40a532be (diff)
downloadrails-a8aa8b7fc37784b36a41834af0272907bb07eeb8.tar.gz
rails-a8aa8b7fc37784b36a41834af0272907bb07eeb8.tar.bz2
rails-a8aa8b7fc37784b36a41834af0272907bb07eeb8.zip
Tiny documentation edits [ci skip]
* Fix a few typos * Wrap lines to 80 chars * Use `+` instead of `<tt>`
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/middleware/static.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/static.rb b/actionpack/lib/action_dispatch/middleware/static.rb
index c47e5d5245..bc5ef1abc9 100644
--- a/actionpack/lib/action_dispatch/middleware/static.rb
+++ b/actionpack/lib/action_dispatch/middleware/static.rb
@@ -26,7 +26,7 @@ module ActionDispatch
# representing the filename. Otherwise, false is returned.
#
# Used by the `Static` class to check the existence of a valid file
- # in the server's `public/` directory. (See Static#call)
+ # in the server's `public/` directory (see Static#call).
def match?(path)
path = URI.parser.unescape(path)
return false unless path.valid_encoding?