lib/generators/templates/omniauth.rb in dailycred-0.1.1 vs lib/generators/templates/omniauth.rb in dailycred-0.1.2
- old
+ new
@@ -8,10 +8,10 @@
if File.exists?('/etc/ssl/certs')
dc_options[:client_options][:ssl] = { :ca_path => '/etc/ssl/certs'}
end
if File.exists?('/opt/local/share/curl/curl-ca-bundle.crt')
- dc_options[:client_options][:ssl] = { :ca_file => 'opt/local/share/curl/curl-ca-bundle.crt' }
+ dc_options[:client_options][:ssl] = { :ca_file => '/opt/local/share/curl/curl-ca-bundle.crt' }
end
Rails.application.config.middleware.use OmniAuth::Builder do
provider :dailycred, dc_id, dc_secret, dc_options
end
\ No newline at end of file