From 2e9d2fc1ddaa963521cd4e40597e658c89839d7a Mon Sep 17 00:00:00 2001 From: Wedge Date: Wed, 3 Mar 2021 06:39:15 +0300 Subject: [PATCH] Remove omniauth --- config/routes.rb | 2 -- 1 file changed, 2 deletions(-) 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]