metamaps--metamaps/app/helpers/content_helper.rb
2017-11-25 11:23:47 -08:00

15 lines
216 B
Ruby

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