Module: Devise::Archangel::UrlHelpers
- Defined in:
- lib/devise/archangel/url_helpers.rb
Class Method Summary collapse
Instance Method Summary collapse
- #archangel_authorize_path(resource_or_scope, *args) ⇒ Object
- #archangel_callback_path(resource_or_scope, *args) ⇒ Object
Class Method Details
.define_helpers(mapping) ⇒ Object
4 5 |
# File 'lib/devise/archangel/url_helpers.rb', line 4 def self.define_helpers(mapping) end |
Instance Method Details
#archangel_authorize_path(resource_or_scope, *args) ⇒ Object
7 8 9 10 |
# File 'lib/devise/archangel/url_helpers.rb', line 7 def (resource_or_scope, *args) scope = Devise::Mapping.find_scope!(resource_or_scope) send("#{scope}_archangel_authorize_path", *args) end |
#archangel_callback_path(resource_or_scope, *args) ⇒ Object
12 13 14 15 |
# File 'lib/devise/archangel/url_helpers.rb', line 12 def archangel_callback_path(resource_or_scope, *args) scope = Devise::Mapping.find_scope!(resource_or_scope) send("#{scope}_archangel_callback_path", *args) end |