revert user serializer for old ember version
This commit is contained in:
@@ -12,15 +12,15 @@ module Qwaiter::UserBaseSerializer
|
||||
nil
|
||||
end
|
||||
|
||||
#def format_name(attribute_name)
|
||||
# #attribute_name.to_s.dasherize
|
||||
# attribute_name.to_s
|
||||
#end
|
||||
def format_name(attribute_name)
|
||||
#attribute_name.to_s.dasherize
|
||||
attribute_name.to_s
|
||||
end
|
||||
|
||||
#def unformat_name(attribute_name)
|
||||
# #attribute_name.to_s.underscore
|
||||
# attribute_name.to_s
|
||||
#end
|
||||
def unformat_name(attribute_name)
|
||||
#attribute_name.to_s.underscore
|
||||
attribute_name.to_s
|
||||
end
|
||||
|
||||
#alias_method :default_relationship_related_link, :relationship_related_link
|
||||
def relationship_related_link(attribute_name)
|
||||
|
||||
Reference in New Issue
Block a user