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 nil
end end
#def format_name(attribute_name) def format_name(attribute_name)
# #attribute_name.to_s.dasherize #attribute_name.to_s.dasherize
# attribute_name.to_s attribute_name.to_s
#end end
#def unformat_name(attribute_name) def unformat_name(attribute_name)
# #attribute_name.to_s.underscore #attribute_name.to_s.underscore
# attribute_name.to_s attribute_name.to_s
#end end
#alias_method :default_relationship_related_link, :relationship_related_link #alias_method :default_relationship_related_link, :relationship_related_link
def relationship_related_link(attribute_name) def relationship_related_link(attribute_name)