0
0
Fork 0

use session pool, as it saves the data on the server side, not client

side
This commit is contained in:
Gibheer 2011-06-28 10:59:49 +02:00
parent af369b3681
commit 6570579073
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
class Admin < Sinatra::Base
set $settings
enable :sessions
use Rack::Session::Pool, :expire_after => 1800
use Rack::Flash, :accessorize => [:error, :warning, :notice]
set :haml, :layout => :admin_layout