Permalink
Browse files

fix readme: enable :session => enable :sessions

Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
  • Loading branch information...
1 parent 7e6bb6e commit 8197e2cffb6ba556aec378be363ac5016ef939b8 @Igneous Igneous committed with rkh Aug 23, 2011
Showing with 5 additions and 5 deletions.
  1. +1 −1 README.de.rdoc
  2. +1 −1 README.es.rdoc
  3. +1 −1 README.fr.rdoc
  4. +1 −1 README.rdoc
  5. +1 −1 README.zh.rdoc
View
@@ -1018,7 +1018,7 @@ Um Argumente an ein Redirect weiterzugeben, können sie entweder dem Query
oder eine Session verwendet werden:
- enable :session
+ enable :sessions
get '/foo' do
session[:secret] = 'foo'
View
@@ -983,7 +983,7 @@ búsqueda:
O usar una sesión:
- enable :session
+ enable :sessions
get '/foo' do
session[:secreto] = 'foo'
View
@@ -1008,7 +1008,7 @@ Pour passer des arguments à une redirection, ajoutez-les soit à la requête :
Ou bien utilisez une session :
- enable :session
+ enable :sessions
get '/foo' do
session[:secret] = 'foo'
View
@@ -994,7 +994,7 @@ To pass arguments with a redirect, either add them to the query:
Or use a session:
- enable :session
+ enable :sessions
get '/foo' do
session[:secret] = 'foo'
View
@@ -948,7 +948,7 @@ Sinatra并不理解。使用 +mime_type+ 通过文件扩展名来注册它们:
或者使用session:
- enable :session
+ enable :sessions
get '/foo' do
session[:secret] = 'foo'

0 comments on commit 8197e2c

Please sign in to comment.