lib/restpack-web/sinatra/app.rb in restpack-web-0.1.34 vs lib/restpack-web/sinatra/app.rb in restpack-web-0.1.35

- old
+ new

@@ -3,14 +3,14 @@ module RestPack module Web module Sinatra module App def self.included(base) - base.use RestPack::Web::App base.use Rack::AutoSessionDomain + base.use RestPack::Web::App base.enable :sessions - base.set :session_secret, 'secret' #TODO: GJ: from restpack config - + base.set :session_secret, 'c40b83f9048c497891f0f71e4b040a3f' #TODO: GJ: from restpack config + base.before do @restpack = RestPack::Web::Context.new(env) end end end \ No newline at end of file