retrospring/config/initializers/omniauth.rb
Georg Gadinger 3c58257d21 remove tumblr
Resolves #274
2022-01-05 19:32:52 +01:00

7 lines
233 B
Ruby

Rails.application.config.middleware.use OmniAuth::Builder do
APP_CONFIG.fetch('sharing').each do |service, opts|
if opts['enabled']
provider service.to_sym, opts['consumer_key'], opts['consumer_secret']
end
end
end