Method: Devise::OmniAuth::UrlHelpers#omniauth_authorize_path

Defined in:
lib/devise/omniauth/url_helpers.rb

#omniauth_authorize_path(resource_or_scope, provider, *args) ⇒ Object



6
7
8
9
# File 'lib/devise/omniauth/url_helpers.rb', line 6

def omniauth_authorize_path(resource_or_scope, provider, *args)
  scope = Devise::Mapping.find_scope!(resource_or_scope)
  _devise_route_context.send("#{scope}_#{provider}_omniauth_authorize_path", *args)
end