Module: Georgia::DeviseHelper

Defined in:
app/helpers/georgia/devise_helper.rb

Instance Method Summary collapse

Instance Method Details

#devise_mappingObject



11
12
13
# File 'app/helpers/georgia/devise_helper.rb', line 11

def devise_mapping
	@devise_mapping ||= Devise.mappings[:georgia_user]
end

#resourceObject



7
8
9
# File 'app/helpers/georgia/devise_helper.rb', line 7

def resource
	@resource ||= Georgia::User.new
end

#resource_nameObject



3
4
5
# File 'app/helpers/georgia/devise_helper.rb', line 3

def resource_name
	:georgia_user
end