diff --git a/config/routes.rb b/config/routes.rb index ce636f330..118beaf4b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -17,13 +17,11 @@ Rails.application.routes.draw do resources :statistics, only: [:index] devise_scope :user do - get '/users/auth/:provider' => 'users/omniauth_callbacks#passthru' get 'users/sign_up' => 'users/registrations#new', as: :new_user_registration post 'users' => 'users/registrations#create', as: :user_registration end devise_for :users, controllers: { - omniauth_callbacks: 'users/omniauth_callbacks', confirmations: 'users/confirmations' }, skip: [:registrations]