Better sign up and sign in
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
class Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController
|
||||
def passthru
|
||||
send(params[:provider]) and return if available_action?(params[:provider])
|
||||
show_404
|
||||
# Or alternatively,
|
||||
# raise ActionController::RoutingError.new('Not Found')
|
||||
|
||||
Reference in New Issue
Block a user