Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

configure Rack::Session::Cookie directly to avoid warnings

  • Loading branch information...
commit e3a5276c81e1e79b462bf92c666fd70a5ae2cd20 1 parent fe39468
@benben authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/simple-ruby-facebook-example.rb
View
2  lib/simple-ruby-facebook-example.rb
@@ -18,7 +18,7 @@ class SimpleRubyFacebookExample < Sinatra::Application
include Koala
set :root, APP_ROOT
- enable :sessions
+ use Rack::Session::Cookie, secret: 'PUT_A_GOOD_SECRET_IN_HERE'
get '/' do
if session['access_token']
Please sign in to comment.
Something went wrong with that request. Please try again.