lib/ditty/templates/config.ru in ditty-0.9.1 vs lib/ditty/templates/config.ru in ditty-0.10.1

- old
+ new

@@ -17,11 +17,11 @@ secret: File.read('.session_secret') require './application' require 'ditty/services/authentication' use OmniAuth::Builder do - ::Ditty::Services::Authentication.config.each do |prov, config| - provider prov, *config[:arguments] + ::Ditty::Services::Authentication.providers.each do |prov| + provider prov, *::Ditty::Services::Authentication.config[prov][:arguments] end end map '/' do use Rack::Static, root: 'public', urls: ['/css', '/images', '/js'], header_rules: [