metamaps--metamaps/app/helpers/content_helper.rb
2014-01-28 22:46:58 -05:00

13 lines
185 B
Ruby

module ContentHelper
def resource_name
:user
end
def resource
@resource ||= User.new
end
def devise_mapping
@devise_mapping ||= Devise.mappings[:user]
end
end