module Devise::OmniAuth::UrlHelpers

Public Instance Methods

omniauth_authorize_path(resource_or_scope, *args) click to toggle source
# File lib/devise/omniauth/url_helpers.rb, line 7
def omniauth_authorize_path(resource_or_scope, *args)
  scope = Devise::Mapping.find_scope!(resource_or_scope)
  send("#{scope}_omniauth_authorize_path", *args)
end
omniauth_callback_path(resource_or_scope, *args) click to toggle source
# File lib/devise/omniauth/url_helpers.rb, line 12
def omniauth_callback_path(resource_or_scope, *args)
  scope = Devise::Mapping.find_scope!(resource_or_scope)
  send("#{scope}_omniauth_callback_path", *args)
end

Public Class Methods

define_helpers(mapping) click to toggle source
# File lib/devise/omniauth/url_helpers.rb, line 4
def self.define_helpers(mapping)
end