Implementatino fixes

This commit is contained in:
2016-06-02 11:13:56 +02:00
parent 54e0dd1a3e
commit 1acd200408
11 changed files with 38 additions and 34 deletions
+6 -6
View File
@@ -11,13 +11,13 @@ module Qwaiter::SupplierBaseSerializer
nil
end
def format_name(attribute_name)
attribute_name.to_s.dasherize
end
#def format_name(attribute_name)
# attribute_name.to_s.dasherize
#end
def unformat_name(attribute_name)
attribute_name.to_s.underscore
end
#def unformat_name(attribute_name)
# attribute_name.to_s.underscore
#end
#alias_method :default_relationship_related_link, :relationship_related_link
def relationship_related_link(attribute_name)