Skip to content
Browse files

Merge pull request #571 from Wolg/docs-fixes

Russian README update and typo
  • Loading branch information...
2 parents ddbba34 + 469e3f8 commit 0ce805acad1c261336da4c16420995f550596028 @rkh rkh committed Sep 13, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.rdoc
  2. +1 −1 README.ru.rdoc
View
2 README.rdoc
@@ -1144,7 +1144,7 @@ error handlers) through the <tt>request</tt> method:
request.host # "example.com"
request.get? # true (similar methods for other verbs)
request.form_data? # false
- request["some_param"] # value of some_param parameter. [] is a shorcut to the params hash.
+ request["some_param"] # value of some_param parameter. [] is a shortcut to the params hash.
request.referrer # the referrer of the client or '/'
request.user_agent # user agent (used by :agent condition)
request.cookies # hash of browser cookies
View
2 README.ru.rdoc
@@ -1155,7 +1155,7 @@ Thin — это более производительный и функцион
request.host # "example.com"
request.get? # true (есть аналоги для других методов HTTP)
request.form_data? # false
- request["SOME_HEADER"] # значение заголовка SOME_HEADER
+ request["some_param"] # значение параметра some_param. Шорткат для хеша params
request.referrer # источник запроса клиента либо '/'
request.user_agent # user agent (используется для :agent условия)
request.cookies # хеш, содержащий cookies браузера

0 comments on commit 0ce805a

Please sign in to comment.
Something went wrong with that request. Please try again.