Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix typo in middleware example.

Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
  • Loading branch information...
commit 962d081eefab58dc8f0d5e798cd22757bb523d6e 1 parent 0d97799
@andrewhampton andrewhampton authored rkh committed
View
2  README.de.rdoc
@@ -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
2  README.es.rdoc
@@ -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
2  README.fr.rdoc
@@ -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
2  README.jp.rdoc
@@ -847,7 +847,7 @@ Sinatraは他のRackミドルウェアを利用することができるだけで
require 'sinatra/base'
class LoginScreen < Sinatra::Base
- enable :session
+ enable :sessions
get('/login') { haml :login }
View
2  README.rdoc
@@ -859,7 +859,7 @@ application (Rails/Ramaze/Camping/...).
require 'sinatra/base'
class LoginScreen < Sinatra::Base
- enable :session
+ enable :sessions
get('/login') { haml :login }
View
2  README.ru.rdoc
@@ -849,7 +849,7 @@ Rack подпрограммы, Rack приложения, Rails metal. Вы мо
require 'sinatra/base'
class LoginScreen < Sinatra::Base
- enable :session
+ enable :sessions
get('/login') { haml :login }
View
2  README.zh.rdoc
@@ -859,7 +859,7 @@ Sinatra::Base子类可用的方法实际上就是
require 'sinatra/base'
class LoginScreen < Sinatra::Base
- enable :session
+ enable :sessions
get('/login') { haml :login }
Please sign in to comment.
Something went wrong with that request. Please try again.