module Devise::OmniAuth::UrlHelpers

def self.define_helpers(mapping)

def self.define_helpers(mapping)
end

def omniauth_authorize_path(resource_or_scope, *args)

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

def omniauth_callback_path(resource_or_scope, *args)

def omniauth_callback_path(resource_or_scope, *args)
  scope = Devise::Mapping.find_scope!(resource_or_scope)
  send("#{scope}_omniauth_callback_path", *args)
end