Resolve conflicts in config/routes/import.rb

This commit is contained in:
Stan Hu 2019-02-05 08:53:41 -08:00
parent de3bfd2848
commit 9a3b09ad4b
1 changed files with 0 additions and 4 deletions

View File

@ -1,11 +1,7 @@
# Alias import callbacks under the /users/auth endpoint so that
# the OAuth2 callback URL can be restricted under http://example.com/users/auth
# instead of http://example.com.
<<<<<<< HEAD
Devise.omniauth_providers.map(&:downcase).each do |provider|
=======
Devise.omniauth_providers.each do |provider|
>>>>>>> dev/master
next if provider == 'ldapmain'
get "/users/auth/-/import/#{provider}/callback", to: "import/#{provider}#callback", as: "users_import_#{provider}_callback"