Skip to content

Loading…

Russian README update and typo #571

Merged
merged 2 commits into from

2 participants

@Wolg

No description provided.

@rkh rkh merged commit 0ce805a into sinatra:master

1 check failed

Details default The Travis build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 13, 2012
  1. @Wolg

    Update Russian README

    Wolg committed
  2. @Wolg

    Typo in README

    Wolg committed
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 браузера
Something went wrong with that request. Please try again.