Sha256: 85cd356d1fd8f1058b27bcde6a69c87d2af62ea84f81b82eed6efa217453cc42
Contents?: true
Size: 1.27 KB
Versions: 64
Compression:
Stored size: 1.27 KB
Contents
# Added support to the Facebooker.yml file for switching to the new profile design.. # Config parsing needs to happen before files are required. facebook_config = "#{RAILS_ROOT}/config/facebooker.yml" require 'facebooker' FACEBOOKER = Facebooker.load_configuration(facebook_config) # enable logger before including everything else, in case we ever want to log initialization Facebooker.logger = RAILS_DEFAULT_LOGGER if Object.const_defined? :RAILS_DEFAULT_LOGGER require 'net/http_multipart_post' if defined? Rails require 'facebooker/rails/backwards_compatible_param_checks' require 'facebooker/rails/controller' require 'facebooker/rails/facebook_url_rewriting' require 'facebooker/rails/facebook_session_handling' if Rails.version < '2.3' require 'facebooker/rails/facebook_request_fix' if Rails.version < '2.3' require 'facebooker/rails/facebook_request_fix_2-3' if Rails.version >= '2.3' require 'facebooker/rails/routing' require 'facebooker/rails/facebook_pretty_errors' rescue nil require 'facebooker/rails/facebook_url_helper' require 'facebooker/rails/extensions/rack_setup' if Rails.version > '2.3' require 'facebooker/rails/extensions/action_controller' #require 'facebooker/rails/extensions/action_view' require 'facebooker/rails/extensions/routing' end
Version data entries
64 entries across 64 versions & 16 rubygems