revert user serializer for old ember version

This commit is contained in:
2016-06-02 18:58:26 +02:00
parent 1dc8a69dce
commit fbcddfe296
+8 -8
View File
@@ -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)