Sha256: 29fa78091b701c857f108491169fe2b88319e19c2eb04e2481298e0ec65b90eb

Contents?: true

Size: 323 Bytes

Versions: 6

Compression:

Stored size: 323 Bytes

Contents

require "omniauth"
require "omniauth-facebook"

OmniAuth.config.logger = Rails.logger

config = YAML.load(File.read(File.join(Rails.root, "config", "family_gallery.yml")))

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :facebook, config["facebook"]["app_id"], config["facebook"]["app_secret"]
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
family_gallery-0.0.8 config/initializers/omniauth.rb
family_gallery-0.0.7 config/initializers/omniauth.rb
family_gallery-0.0.6 config/initializers/omniauth.rb
family_gallery-0.0.5 config/initializers/omniauth.rb
family_gallery-0.0.4 config/initializers/omniauth.rb
family_gallery-0.0.3 config/initializers/omniauth.rb