Permalink
Browse files

Fix typo in middleware example.

Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
  • Loading branch information...
1 parent 0d97799 commit 962d081eefab58dc8f0d5e798cd22757bb523d6e @andrewhampton andrewhampton committed with rkh Nov 7, 2010
Showing with 7 additions and 7 deletions.
  1. +1 −1 README.de.rdoc
  2. +1 −1 README.es.rdoc
  3. +1 −1 README.fr.rdoc
  4. +1 −1 README.jp.rdoc
  5. +1 −1 README.rdoc
  6. +1 −1 README.ru.rdoc
  7. +1 −1 README.zh.rdoc
View
@@ -869,7 +869,7 @@ Sinatra-Anwendung handen, es kann jede andere Rack-Anwendung sein
require 'sinatra/base'
class LoginScreen < Sinatra::Base
- enable :session
+ enable :sessions
get('/login') { haml :login }
View
@@ -882,7 +882,7 @@ aplicación basada en Rack (Rails/Ramaze/Camping/...).
require 'sinatra/base'
class PantallaDeLogin< Sinatra::Base
- enable :session
+ enable :sessions
get('/login') { haml :login }
View
@@ -872,7 +872,7 @@ application basée sur Rack (Rails/Ramaze/Camping/...).
require 'sinatra/base'
class EcranDeConnexion < Sinatra::Base
- enable :session
+ enable :sessions
get('/connexion') { haml :connexion }
View
@@ -847,7 +847,7 @@ Sinatraは他のRackミドルウェアを利用することができるだけで
require 'sinatra/base'
class LoginScreen < Sinatra::Base
- enable :session
+ enable :sessions
get('/login') { haml :login }
View
@@ -859,7 +859,7 @@ application (Rails/Ramaze/Camping/...).
require 'sinatra/base'
class LoginScreen < Sinatra::Base
- enable :session
+ enable :sessions
get('/login') { haml :login }
View
@@ -849,7 +849,7 @@ Rack подпрограммы, Rack приложения, Rails metal. Вы мо
require 'sinatra/base'
class LoginScreen < Sinatra::Base
- enable :session
+ enable :sessions
get('/login') { haml :login }
View
@@ -859,7 +859,7 @@ Sinatra::Base子类可用的方法实际上就是
require 'sinatra/base'
class LoginScreen < Sinatra::Base
- enable :session
+ enable :sessions
get('/login') { haml :login }

0 comments on commit 962d081

Please sign in to comment.