renames user_helper
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
module UserHelper
|
||||
def humanize_document_type(document_type)
|
||||
case document_type
|
||||
when "1"
|
||||
t "verification.residence.new.document_type.spanish_id"
|
||||
when "2"
|
||||
t "verification.residence.new.document_type.passport"
|
||||
when "3"
|
||||
t "verification.residence.new.document_type.residence_card"
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -1,5 +1,16 @@
|
||||
module UsersHelper
|
||||
|
||||
def humanize_document_type(document_type)
|
||||
case document_type
|
||||
when "1"
|
||||
t "verification.residence.new.document_type.spanish_id"
|
||||
when "2"
|
||||
t "verification.residence.new.document_type.passport"
|
||||
when "3"
|
||||
t "verification.residence.new.document_type.residence_card"
|
||||
end
|
||||
end
|
||||
|
||||
def comment_commentable_title(comment)
|
||||
commentable = comment.commentable
|
||||
if commentable.nil?
|
||||
|
||||
Reference in New Issue
Block a user