Module: Georgia::DeviseHelper
- Defined in:
- app/helpers/georgia/devise_helper.rb
Instance Method Summary collapse
Instance Method Details
#devise_mapping ⇒ Object
11 12 13 |
# File 'app/helpers/georgia/devise_helper.rb', line 11 def devise_mapping @devise_mapping ||= Devise.mappings[:georgia_user] end |
#resource ⇒ Object
7 8 9 |
# File 'app/helpers/georgia/devise_helper.rb', line 7 def resource @resource ||= Georgia::User.new end |
#resource_name ⇒ Object
3 4 5 |
# File 'app/helpers/georgia/devise_helper.rb', line 3 def resource_name :georgia_user end |