Sha256: 624822e74af05b4cb78bfab59571745db2c4389ce34a86f64d71d4ceb781fa52
Contents?: true
Size: 587 Bytes
Versions: 1
Compression:
Stored size: 587 Bytes
Contents
# Somewhere in 2.3 RewindableInput was removed- rack supports it natively require 'rack/facebook' require 'rack/facebook_session' Rails::Application.middleware.insert_before( ActionDispatch::ParamsParser, Rack::Facebook ) # ActionController::Base::middleware_stack.insert(0, Rack::Facebook) #use this if you aren't using the cookie store and want to use # the facebook session key for your session id # ActionController::Dispatcher.middleware.insert_before( # ActionController::Base.session_store, # Rack::FacebookSession, # ActionController::Base.session_options[:key] # )
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facebooker-rails3-1.0.64 | lib/facebooker/rails/extensions/rack_setup.rb |