asciinema.org/config/initializers/omniauth.rb
2012-02-25 23:43:17 +01:00

5 lines
236 B
Ruby

Rails.application.config.middleware.use OmniAuth::Builder do
provider :twitter, CFG.oauth.twitter.consumer_key, CFG.oauth.twitter.consumer_secret
provider :github, CFG.oauth.github.consumer_key, CFG.oauth.github.consumer_secret
end