module DeviseG5Authenticatable::UrlHelpers

Routing helpers for G5 omniuath routes

Public Instance Methods

g5_authorize_path(resource_or_scope, *args) click to toggle source
# File lib/devise_g5_authenticatable/controllers/url_helpers.rb, line 6
def g5_authorize_path(resource_or_scope, *args)
  scope = Devise::Mapping.find_scope!(resource_or_scope)
  _devise_route_context.send("#{scope}_g5_authorize_path", *args)
end
g5_callback_path(resource_or_scope, *args) click to toggle source
# File lib/devise_g5_authenticatable/controllers/url_helpers.rb, line 11
def g5_callback_path(resource_or_scope, *args)
  scope = Devise::Mapping.find_scope!(resource_or_scope)
  _devise_route_context.send("#{scope}_g5_callback_path", *args)
end