mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 18:29:52 +01:00
3c58257d21
Resolves #274
7 lines
233 B
Ruby
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
|